cache empties itself?
ric at digitalmarbles.com
Tue Apr 8 20:15:49 CEST 2008
On Apr 8, 2008, at 8:26 AM, DHF wrote:
> Ricardo Newbery wrote:
>> Regarding the potential management overhead... this is not relevant
>> to the question of whether this strategy would increase your site's
>> performance. Management overhead is a separate question, and not
>> an easy one to answer in the general case. The overhead might be a
>> problem for some. But I know in my own case, the overhead required
>> to manage this sort of thing is actually pretty trivial.
> How do you manage the split ttl's? Do you send a purge after a page
> has changed or have you crafted another way to force a revalidation
> of cached objects?
Yes, a purge is sent after the page has changed. For Plone, all of
this is easy to automate with the CacheFu add-on. Although support
for adding a Surrogate-Control header (or whatever you use to
communicate the local ttl) requires some minor customization (about 5
lines of code).
More information about the varnish-misc