On Wed, Feb 9, 2011 at 3:00 PM, Bill Traynor <btraynor(a)gmail.com> wrote:
It turned out to be an issue with the Varnish Cache.
Varnish noticed the
.jpg or .png or whatever so it assumed it was an image (because Varnish had
a rule to assume as much) and therefore cached the upload page.
The admin added an exception triggered by the "Special:Upload" string in
the
URL.
You should consider one of the following:
* adjust the web server to send proper caching headers for those files,
which Varnish can then respect. (the web server knows the difference between
static files and things going through PHP; it can also simply base its
settings on directories or file types)
* or at least, adjust the Varnish check to check for the actual Content-Type
rather than assume it knows anything about URLs
* and if URLs must be checked, be aware of the difference between paths and
query strings :D
Other pages on the wiki may also have names ending in ".png" etc, such as
the actual file description pages, and they also should not be interfered
with.
-- brion