Joomla cache question

#1
Hi,

Just a a quick questions please.
I use ls cache plugin for my last joomla site. Works fine with my server which support it.

Have a 2 little questions :

- when using lscacheplugin, did you advice to use also one of the joomla cache option : (plug in system : browser cache or cache in general configuration) or not ?

- of the first picture, you see a screen capture of gtmetrix. one of the advice is : "serve static asses with efficient cache policy"

the recommandation about that is to enable cache browser and add the code below to htacess.

juste would like to know if you advice to it (actice cache browser and add info to htacess) or not ?

I want to avoid conflict !

Thanks for help !

Here the code they talk about :

<IfModule mod_expires.c>
ExpiresActive On

# Images
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/webp "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"

# Video
ExpiresByType video/webm "access plus 1 year"
ExpiresByType video/mp4 "access plus 1 year"
ExpiresByType video/mpeg "access plus 1 year"

# Fonts
ExpiresByType font/ttf "access plus 1 year"
ExpiresByType font/otf "access plus 1 year"
ExpiresByType font/woff "access plus 1 year"
ExpiresByType font/woff2 "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 year"
ExpiresByType application/font-woff2 "access plus 1 year"

# CSS, JavaScript
ExpiresByType text/css "access plus 1 year"
ExpiresByType text/javascript "access plus 1 year"
ExpiresByType application/javascript "access plus 1 year"

# Others
ExpiresByType application/pdf "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
</IfModule>
 

Attachments

#2
LiteSpeed LScache is a server based cache for dynamically generated sources like PHP. Static sources like css, js or any other static sources are not cached by LScache as such sources are cached by the browser. If you want to set browser caching for static sources you must set either by .htaccess or in the CMS used.
 
Top