janosgyerik/TheToolbox/master/wp-content/w3tc/min/.htaccess - Htaccess File

janosgyerik/TheToolbox/master/wp-content/w3tc/min/.htaccess

# BEGIN W3TC Minify core
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp-content/w3tc/min/
    RewriteRule ^w3tc_rewrite_test$ index.php?w3tc_rewrite_test=1 [L]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteRule .* - [E=APPEND_EXT:.gzip]
    RewriteCond %{REQUEST_FILENAME}%{ENV:APPEND_EXT} -f
    RewriteRule (.*) $1%{ENV:APPEND_EXT} [L]
    RewriteRule ^(.+.(css|js))$ index.php?file=$1 [L]
</IfModule>
# END W3TC Minify core
# BEGIN W3TC Minify cache
<IfModule mod_mime.c>
    AddEncoding gzip .gzip
    <Files *.css.gzip>
        ForceType text/css
    </Files>
    <Files *.js.gzip>
        ForceType application/x-javascript
    </Files>
</IfModule>
<IfModule mod_deflate.c>
    <IfModule mod_setenvif.c>
        SetEnvIfNoCase Request_URI .gzip$ no-gzip
    </IfModule>
</IfModule>
<IfModule mod_headers.c>
    Header set X-Powered-By "W3 Total Cache/0.9.2.4"
    Header set Vary "Accept-Encoding"
</IfModule>
# END W3TC Minify cache

On Github License

Files

Download PDF of Htaccess file
ENV, no-gzip, REQUEST_FILENAME, REQUEST_URI

Comments

Apache