On Thu, 2004-05-13 at 01:09 +0200, Erik Moeller wrote:
I presume calling SquidUpdate::purge after the save (in EditPage) with the section viewing URL as parameter (multiple ones if the whole page is edited) would solve this problem? That doesn't sound very hard.
How many threshold settings are there and how many headlines on a page? Even if you restricted the options to 'on' and 'off', it would be > 100 purge requests to each of the squids for a simple edit, plus it would already halve the cache hit ratio.
Separate pages on the other hand will only purge the (shorter) page that's actually edited and the page they're linked to if they are deleted/added. A long overview page can still use the individual cached page content, either with a server-side version with esi:include tags or using javascript, using the same cached page content as in the single-page view. Inform yourself at http://www.esi.org/ if there's information missing.
The category feature needs some work, maybe also a separate link table to improve efficiency- i'm looking forward to see your contributions (and discuss them if you want to save time).
Cheers
Gabriel Wicke