Costantini Posted May 19, 2020 Share Posted May 19, 2020 (edited) Hello to everyone, someone know how to force the customers browser to reload de cache? we modified our website but some customers cant show the modify and we cant ask to clear the browser history or make a forced refresh because if they turn on the pc is already a miracle... our website: enotecacostantinipiero.it i already did a manual clean of the cache/compile and smarty, forced the compile but nothing works... thanks the image is like usually we have the options Edited May 19, 2020 by vuoshino (see edit history) Link to comment Share on other sites More sharing options...
Miguel86 Posted May 20, 2020 Share Posted May 20, 2020 You don't have CCC activated for CSS, with CCC Prestashop will combine al CSS in one file. When you make changes filename will change and browser will download new file. Files combined are the ones added with >addCSS() If you have a test environment first check that with CCC you website still works. Browser will cache files depending on the server configuration you have (.htaccess if you defined here cache for file extensions). Wich file did you modified? 1 Link to comment Share on other sites More sharing options...
Costantini Posted May 20, 2020 Author Share Posted May 20, 2020 6 hours ago, Miguel86 said: You don't have CCC activated for CSS, with CCC Prestashop will combine al CSS in one file. When you make changes filename will change and browser will download new file. Files combined are the ones added with >addCSS() If you have a test environment first check that with CCC you website still works. Browser will cache files depending on the server configuration you have (.htaccess if you defined here cache for file extensions). Wich file did you modified? we modified global.css, and skin.css and for the new customers everything works good. The problem is for who has visited the website some days ago and has already the cache... Link to comment Share on other sites More sharing options...
Miguel86 Posted May 21, 2020 Share Posted May 21, 2020 Hi vuishino: O suppose you solved the problem as you enabled CCC and now all css are combined in one file and every customer new or not will download this new file once. Best regards. 1 Link to comment Share on other sites More sharing options...
Costantini Posted May 21, 2020 Author Share Posted May 21, 2020 i enabled the ccc but somethings doesnt update... The colour of the cart button, the searchbar and other things are not update if you have the cache saved... how can i force it? Link to comment Share on other sites More sharing options...
Miguel86 Posted May 21, 2020 Share Posted May 21, 2020 I don't know the colours that were displayed before the CCC. The best idea is always to test this things in a testing environment before updating production website. In case you think that with CCC some CSS are not working well maeby the theme owner can assist you to know if something of his theme is not compatible with CCC. I don't think is a problem of cache right now as with CCC is generate a new file and nobody will have it in cache. Can you show a screen cap of how should be displayed? 1 Link to comment Share on other sites More sharing options...
El Patron Posted May 21, 2020 Share Posted May 21, 2020 as @miguel86 stated, when .css changes and ccc of .css enabled, PS will create new CCC file. as mentioned posting link to shop most anyone in community can solve issue in 'very little time'. also you should consider hiring someone out of job section or a real agency as you have taken this as far as you can. Link to comment Share on other sites More sharing options...
Costantini Posted May 21, 2020 Author Share Posted May 21, 2020 for example this is an image from a edge browser with a force refresh done and a chrome browser with the cache saved. The ccc are enabled. dont look at the social login because on the chrome one the login is done so is not visible. you can see that the serach bar, the add to cart button and other things are not update 😥 Link to comment Share on other sites More sharing options...
El Patron Posted May 21, 2020 Share Posted May 21, 2020 that is not helpful...I'm out Link to comment Share on other sites More sharing options...
Miguel86 Posted May 22, 2020 Share Posted May 22, 2020 I suppose the left one is edge and the right one is chrome, right? Depending on the design same code could look different in different browsers. I use chrome and without identification i see webpage like right image. Please provide a demo login so we can see what is different when you are logged, but provably when you are logged has no sense to display the icons of facebook, google, amazon and paypal login as you are already logged. The other icons? without a login we can't see if there are css changes (different class, etc) in you template and that makes different look later. In my opinion you are saying this is a cache problem and when you use CCC a new file is created so as this is after the changes done in the css files there is no cache affecting. 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