• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Chrome not refreshing

Yes you can put a querystring onto an image name to ensure any caching is updated whenever the image changes even if the image name itself stays the same. .e.g. src="image.jpg?123"

Some set the querystring to the image modified date/time, which is easy to automate if using an appropriate scripting/programming language, to ensure it's not missed when making any changes.

This way you don't have to bother worrying about caching and trying to avoid it with 'no cache' approaches that may or may not be used correctly either when setting it (as standards change) or by anything in the chain between the host server and the client browser.

Keeps it simple. :smokin
 

Advertisers

Back
Top