Jump to content

How to force all the customers browser to reaload all and delete all the old chache of the website ?


Costantini

Recommended Posts

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

 

Movavi ScreenShot 005 - Prestazioni • Enoteca Costantini - enotecacostantinipiero.it.jpg

Edited by vuoshino (see edit history)
Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

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

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?

  • Like 1
Link to comment
Share on other sites

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

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 😥

campione.png

Link to comment
Share on other sites

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...