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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2628, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 628 - Image redirection IE cache problem
Image redirection IE cache problem
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
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: ---


Attachments

Description Tom Gilder 2004-10-03 00:30:01 UTC
All images are currently loaded from upload.wikipedia.org, 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 upload.wikipedia.org.
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.


Navigation
Links