troubleshooting Question

Apache mod_deflate and .swf

Avatar of Mahdii7
Mahdii7Flag for United States of America asked on
Apache Web ServerNetworking
2 Comments1 Solution2447 ViewsLast Modified:
Simple question: Is it possible to use mod_deflate.c with swf files?

I've recently discovered the joys of mod_deflate for on the fly gzip compression in Apache. Wow, it really reduced my javascript load times. I enjoyed it so much, in fact, that I wanted to compress everything I could think of that might be heavy in file size. I've noticed significant time decreases in js, image files, html, and css.

Now, whats the biggest drain on my sites bandwidth? Flash documents! I tried adding .swf as an extension but it made no difference. So is this possible?

Thanks
<IfModule mod_deflate.c>
                <FilesMatch "\.(js|css|php|html|jpg|swf)$">
                        SetOutputFilter DEFLATE
                </FilesMatch>
        </IfModule>
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros