Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I found that sometimes an image won't load fully on my browser, and when I press F5, instead of refetching the image from the server, the browser reloads it from the cache. Is there anyway to force the server to resend the image?

Edit: I am using Google Chrome.

Note: But I am speaking here as an end Internet user, not as a developer. So the idea to modify the HTML to put in a random number doesn't work here.

share

locked by HopelessN00b Dec 5 at 7:53

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

closed as off topic by sysadmin1138 Feb 25 '11 at 17:37

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

    
What browser are you using? –  squillman May 8 '09 at 2:59
    
Google Chrome is the browser that I'm using –  Graviton May 8 '09 at 3:21
    
@Justin: good answer. Why not repost your point as a real answer instead of a comment. In that way I can upvote you and accept your answer. –  Graviton May 8 '09 at 4:41

2 Answers 2

up vote 7 down vote accepted

On many browsers, pressing Control-F5 will reload the page and bypass the cache. The Wikipedia "Bypass your cache" page has details for all modern web browsers.

For Chrome, it appears that as of this writing there is a confirmed bug where it will sometimes not bypass cache when reloading with Ctrl+F5 as it is documented. The only option for now is to clear the cache completely, then reload the page. Here's some discussion of the issue: http://code.google.com/p/chromium/issues/detail?id=603

share

What I've done when the wrong image gets cached is select 'View Image' or the like so I get a page/tab/window with just the image and then shift-reload that guaranteeing that particular image gets reloaded.

share

Not the answer you're looking for? Browse other questions tagged or ask your own question.