Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # www.fduran.com
- # Apache2 optimization
- # apache-wide (/etc/apache2/apache2.config ):
- # compression
- AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/javascript
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- # Etags
- Header unset ETag
- FileETag None
- # Per <VirtualHost> /etc/apache2/sites-enabled/somesite :
- <LocationMatch "\.(css|js|jpg|gif|png|pdf|ico)$">
- Header set Cache-Control "max-age=290304000, public"
- </LocationMatch>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement