Last modified: 2004-10-31 20:42:36 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 628 - Image redirection IE cache problem
Image redirection IE cache problem
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on: 638
Blocks: 640
  Show dependency treegraph
Reported: 2004-10-03 00:30 UTC by Tom Gilder
Modified: 2004-10-31 20:42 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Tom Gilder 2004-10-03 00:30:01 UTC
All images are currently loaded from, for extra security  - which is a good thing. 
However, what's not good is the way they are loaded - via a HTTP 302 Moved Temporarily redirect.

Not only does this mean every image needs two HTTP requests to load, it also causes IE to always re-check 
the redirect whenever it displays an image. Although the actual image data is cached, it *always* loads 
the original image URL to see if the redirect still goes to the same place.

Thus if a user goes to Wikipedia's Main Page, goes to another article and clicks back, every image will 
be re-checked, delaying loading by quite a while and creating many needless HTTP requests.

I've tried sending various HTTP headers to make IE cache the redirect location, but I can't. I think the 
only solution is to directly point the image SRC to
Comment 1 Tom Gilder 2004-10-05 22:09:20 UTC
From bug 638: "As far as I can see setting the full URL path in $wgUploadPath should be sufficient."

Can someone please change this? It will reduce load for images, and fix the cache problems with IE.

Note You need to log in before you can comment on or make changes to this bug.