• Resolved Cartographer

    (@cartographer)


    Hi all,

    Where exactly should I add the “lines” for gzip compression?

    This is my .htacess content:

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg “access 1 year”
    ExpiresByType image/jpeg “access 1 year”
    ExpiresByType image/gif “access 1 year”
    ExpiresByType image/png “access 1 year”
    ExpiresByType text/css “access 1 month”
    ExpiresByType application/pdf “access 1 month”
    ExpiresByType text/x-javascript “access 1 month”
    ExpiresByType application/x-shockwave-flash “access 1 month”
    ExpiresByType image/x-icon “access 1 year”
    ExpiresDefault “access 2 days”
    </IfModule>
    ## EXPIRES CACHING ##

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Thank you!

    https://wordpress.org/plugins/quick-cache/

Viewing 1 replies (of 1 total)
  • Plugin Author Raam Dev

    (@raamdev)

    Hi Cartographer,

    You can place the GZIP Compression lines at the very top of your .htaccess file.

Viewing 1 replies (of 1 total)
  • The topic ‘Gzip compression’ is closed to new replies.