Leverage browser caching

Please check this problems and give me best suggestions regarding website.
I already try this:

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/mp4 “access plus 1 year”
ExpiresByType video/mpeg “access plus 1 year”

CSS, JavaScript

ExpiresByType text/css “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”

Others

ExpiresByType application/pdf “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”


So give me another suggestion. I hope as soon as possible you are give me best solution…

https://cdn.subscribers.com/config/8a781142-bb81-4279-a75f-3c3d6b1a9103.json (expiration not specified)
https://www.googletagmanager.com/gtm.js?id=GTM-PJG4DMS (15 minutes)

@atulsen Do you still have issues with this?

Hi @atulsen,
I am not sure of your question, are you asking for recommendations on the caching strategies for different types of files?
What id your application and how often do your files change? What are these files?

cheers,

This topic was automatically closed after 166 days. New replies are no longer allowed.