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





--- Comment #5 from Brion Vibber <[email protected]>  2009-02-20 00:09:28 UTC 
---
> Does Squid currently get purged on image reupload?

Currently the plain page view URL does get purged from local Squids, however
any *client* that has cached the image doesn't get any such notification. So,
either the browser has to go back to hit the server every time it shows it to
check if it's changed (slow!), or it speculatively caches it for some amount of
time with the risk of showing an outdated version.

You can see this effect when you upload a new version of an image and see the
old one sitting there on the File: page until you refresh.

Changing the URL with a timestamp would mean that any page which has been
updated will use the updated URL, giving you the updated image version when you
view it.

> Are pages using images on remote-repos correctly purged on image reupload?

Nope, which is an issue to consider. There's not currently any registry of
remote use, so the wiki doesn't know who to send purges to. (This would not be
too hard to implement internally for DB-based repos so Commons could update the
other Wikimedia sites, but would be much trickier for third-party sites using
us via an API repo).


-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
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