Advertisement
Guest User

Untitled

a guest
May 11th, 2011
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. # BEGIN W3TC Minify cache
  2. <IfModule mod_mime.c>
  3. AddEncoding gzip .gzip
  4. <Files *.css.gzip>
  5. ForceType text/css
  6. </Files>
  7. <Files *.js.gzip>
  8. ForceType application/x-javascript
  9. </Files>
  10. </IfModule>
  11. <IfModule mod_deflate.c>
  12. <IfModule mod_setenvif.c>
  13. SetEnvIfNoCase Request_URI \.gzip$ no-gzip
  14. </IfModule>
  15. </IfModule>
  16. <IfModule mod_expires.c>
  17. ExpiresActive On
  18. ExpiresByType text/css M31536000
  19. ExpiresByType application/x-javascript M31536000
  20. </IfModule>
  21. <IfModule mod_headers.c>
  22. Header set X-Powered-By "W3 Total Cache/0.9.1.4b"
  23. Header set Vary "Accept-Encoding"
  24. </IfModule>
  25. # END W3TC Minify cache
  26. # BEGIN W3TC Minify core
  27. <IfModule mod_rewrite.c>
  28. RewriteEngine On
  29. RewriteBase /wp-content/w3tc/min/
  30. RewriteRule ^w3tc_rewrite_test$ index.php?w3tc_rewrite_test=1 [L]
  31. RewriteCond %{HTTP:Accept-Encoding} gzip
  32. RewriteRule .* - [E=APPEND_EXT:.gzip]
  33. RewriteCond %{REQUEST_FILENAME}%{ENV:APPEND_EXT} -f
  34. RewriteRule (.*) $1%{ENV:APPEND_EXT} [L]
  35. RewriteRule (.*) index.php?file=$1 [L]
  36. </IfModule>
  37. # END W3TC Minify core
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement