(changing topic so that Gmail won't mix it up with the original Foundation-l discussion for me . . .)
On Fri, Jul 23, 2010 at 6:51 PM, Platonides Platonides@gmail.com wrote:
Even if you remove censoring ability from anonymous users, you still need to purge from squid cache all pages that include the images when category changes.
Only if the category changes in such a way that would affect whether the image censored by default. I expect that on many wikis there will be no censored categories at all by default, so on those wikis this would be never. Images that are likely to ever be in categories censored by default are very unlikely to be used on many pages, and Squid cache is much cheaper to purge than parser cache, so I think this would be acceptable from a performance standpoint. Or we could just say that anonymous users might get censored-image lists that are a few days outdated.
Realistically, I don't see very many wikis enabling this feature by default. Wikis where the community doesn't want a particular type of image will tend to not use that type of image at all, they won't want to display it inline but blocked out with a message "Click here if you want to see naked people!" I see this feature mostly being used by individuals who object to the standards of a wiki they use.
There are some large galleries. For instance contains 746 files each with 4-5 categories. That's nearly 3000 categories being retrieved.
You seem to have left our the link here. But this is an edge case, and it's still not going to be particular slow -- the query to retrieve the categories here should take only a few milliseconds.