bhavinrana07 Posted June 16, 2021 Share Posted June 16, 2021 Smarty smart css and js issue: I am using Imperva CDN (content delivery network) for caching the website. When I have enabled the smart js and css, i found that several times, the path for the css and js changes/re generates ones in a while. as shown in below image it updates the theme-somestring.css file name. the same thing happening with Js as well. (/themes/someshop/assets/cache/bottom-9351322210.js ) I Believe it is because of the smart cache and smart js enabled and cache expires? wdyt. Issue: While CSS and JS file names are being changed /re generated automatically one in a while, and the css and js is being cached in the CDN, some of the users are seeing the website broken because they might be seeing the website with old .css file with old css url. Possible Solution : 1) do you have any solution, if yes can you post? 2) at this moment I am thinking to clean the the CDN cache from the clean cache function in the BO. (clean the CDN cache while prestashop cache cleans), do you think this can fix this issue ? 3) do you know if i can get the trigger of above file name changes so that i can call the CDN clean cache? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now