Closed (fixed)
Project:
Fork of Edge Side Includes integration
Component:
User interface
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2011 at 20:01 UTC
Updated:
23 Nov 2011 at 04:10 UTC
ESI module has a Time To Live setting on the module settings page and a Lifetime setting on the Panels panel settings page.
1. These should probably be named the same thing.
2. Should there also be a zero value available for TTL? It seems like in some cases I want live data.
Thanks.
Comments
Comment #1
mikeytown2 commented"Not Cached" in the other thread #1334910: Add in the ability to set the scope of how the ESI bit of content will be cached. is where zero comes into mind. I'll normalize the naming, thanks for pointing it out. Would a zero for the TTL be better? Have both?
Comment #2
mikeytown2 commentedGoing to go for "maximum age". In pressflow drupal_page_cache_header_external() uses the variable (page_cache_max_age) set in system_performance_settings(); this is what pressflow uses to describe the time set in the cache control header under
max-age=; ESI uses the same headers.Comment #3
brianmercer commentedConsistency with the performance page sounds good.
The performance page settings allow a zero value for max age which it calls "none". I know that nginx will honor a "Cache-Control: max-age=0" without the addition of "no-cache", so that would work.
Comment #4
mikeytown2 commentedThis has been fixed in #1334910: Add in the ability to set the scope of how the ESI bit of content will be cached.