Browser caching




Wordpress LScache Plugin: Browser caching


Ive 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? Im running woocommerce if that makes a difference. Thanks 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 Expand