https://bugzilla.wikimedia.org/show_bug.cgi?id=64554

Laurence 'GreenReaper' Parry <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #16 from Laurence 'GreenReaper' Parry <[email protected]> ---
I can confirm, the default $wgMediaViewerUseThumbnailGuessing = true doesn't
always work right if you don't have a 404 handler set up. Here's why: large
sites probably *do* have caching set up (e.g. CloudFlare or Varnish), and the
404 will be cached, so the request after generation gets the cached 404.
Whoops. This hurts everyone else who tries to access the cached file while the
404 is cached.

You could try adding no-cache headers to your second request; or if that is not
possible, add a query parameter to the URL based on, say, the timestamp to
break the cache for your backup request.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to