Timeline for Is it possible to use environment variables as the cache duration?
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 19, 2014 at 14:16 | vote | accept | Wes Rice | ||
Jun 19, 2014 at 13:12 | answer | added | carlcs | timeline score: 2 | |
Jun 19, 2014 at 0:22 | answer | added | Bryan Redeagle | timeline score: 6 | |
Jun 18, 2014 at 21:24 | comment | added | Wes Rice | True, but I actually have some parts of templates that are being pulled from other data sources, like twitter. Setting cache durations via a variable for those situations would be convenient. | |
Jun 18, 2014 at 21:13 | comment | added | carlcs | Aren't cached template parts updated as soon as you make changes to your entries in the backend? That's why I don't understand the need to set a duration. | |
Jun 18, 2014 at 20:21 | comment | added | Wes Rice | I have cache tags in several places throughout my site. The cache duration might need to change from time to time depending on how often the site will be updated, which will vary during different parts of the year. The idea is to abstract the duration into one spot to where I can change the duration for all tags easily. | |
Jun 18, 2014 at 20:04 | vote | accept | Wes Rice | ||
Jun 18, 2014 at 20:17 | |||||
Jun 18, 2014 at 19:08 | answer | added | carlcs | timeline score: 4 | |
Jun 18, 2014 at 18:32 | comment | added | carlcs | Can you please tell me why you want to use cache duration? I am curious because I did not see a use case for it yet. | |
Jun 18, 2014 at 18:14 | review | First posts | |||
Jun 18, 2014 at 19:57 | |||||
Jun 18, 2014 at 17:56 | history | asked | Wes Rice | CC BY-SA 3.0 |