• Resolved johnc1979

    (@johnc1979)


    I’ve just started using this plugin and I want to know if this plugin does browser caching at all? Do I have to make changes to the htaccess file, is it automatic or do I have to do something else? I’m running woocommerce if that makes a difference.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author LiteSpeed Technologies

    (@litespeedtech)

    Hi @johnc1979

    This plugin only does the full page cache, integrating it with the server. Any browser caching will have to be added separately. You can try adding the following rules to your .htaccess.

    Let me know if it works,
    Kevin

    
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType text/css "access plus 1 week"
    ExpiresByType text/javascript "access plus 1 week"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType application/x-javascript "access plus 1 week"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresByType image/svg+xml "access plus 1 year"
    ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
    ExpiresByType application/font-woff "access plus 1 year"
    ExpiresByType application/x-font-woff "access plus 1 year"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
    ExpiresByType font/opentype "access plus 1 year"
    ExpiresByType font/ttf "access plus 1 year"
    ExpiresByType font/otf "access plus 1 year"
    ExpiresByType application/x-font-ttf "access plus 1 year"
    ExpiresByType application/x-font-otf "access plus 1 year"
    
Viewing 1 replies (of 1 total)
  • The topic ‘Browser caching’ is closed to new replies.