viewing paste Unknown #6491 | Plain text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
SetOutputFilter DEFLATE
 
# compress text, html, javascript, css, xml:
#AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
 
<IfModule mod_expires.c>
# Turn on the Expires engine
ExpiresActive Off
 
# Expires after a month client accesses the file
ExpiresByType image/jpeg A3600
ExpiresByType image/gif A3600
ExpiresByType image/png A3600
ExpiresByType image/x-icon A3600
ExpiresByType text/plain A3600
 
# Good for one week
ExpiresByType application/x-javascript A120
ExpiresByType application/javascript A120
ExpiresByType text/x-javascript A120
ExpiresByType text/javascript A120
ExpiresByType text/css A120
ExpiresByType text/html A120
</IfModule>
Viewed 255 times, submitted by unknown.