Chrome does not update the changed images.

More
10 years 11 months ago #28623 by supergian1969
hi, when i change one of the bg1,2,3,4 images on the server, google Chrome does not update the images.
i can close the browser, restart the pc but nothing.
The only way is to clear the cache files in the Chrome options.
This does not append with IE and Firefox, with these i simply close and open again the browser.
How does Chrome work? is a time question?
Thanks.

Please Log in to join the conversation.

More
10 years 11 months ago - 10 years 11 months ago #28626 by ivan.milic
Refresh several times with CTRL+F5 ,Copy link address , open new tab , right click on browser address bar then click "past and go".
This is like voodoo ritual actually i'm not sure eater you can find instructions on internet (that work) .
Other solution is to clear browser history but making sure your page in not loaded.
Last edit: 10 years 11 months ago by ivan.milic.

Please Log in to join the conversation.

More
10 years 11 months ago #28627 by supergian1969
Sorry but how can I tell this to the whole world when i change an image?
so if i change an image the Chrome users will not see any changes? they must delete their cache browser?
I think this is unbelievable!
Please tell me that there is another solution!

Please Log in to join the conversation.

More
10 years 11 months ago #28632 by ivan.milic
Cache eventually expires and browsers load content again, like after 48h depending on browser settings.

if you have spacial case where you need to do that more frequently open:

mod_hot_flashes_menu\tmpl\default.php , line ~81:
Code:
for( $loop = 0 ; $loop < count($bcg_images); $loop ++) { echo '.'.basename(basename(basename(basename($bcg_images[$loop],'.jpg'),'.jpeg'),'.png'),'.gif').' { background:url(\''.$backgrounds_url.basename($bcg_images[$loop]).'\'); } '; $backgrounds_exist++; }

change to:
Code:
for( $loop = 0 ; $loop < count($bcg_images); $loop ++) { echo '.'.basename(basename(basename(basename($bcg_images[$loop],'.jpg'),'.jpeg'),'.png'),'.gif').' { background:url(\''.$backgrounds_url.basename($bcg_images[$loop]).'?diff='.rand().'\'); } '; $backgrounds_exist++; }

Please Log in to join the conversation.

More
10 years 11 months ago #28664 by supergian1969
i will try.
Thanks.

Please Log in to join the conversation.

Time to create page: 0.352 seconds
Powered by Kunena Forum