Opened 8 years ago
Last modified 8 years ago
#27882 closed Cleanup/optimization
Allow template fragment caching for unlimited time — at Initial Version
Reported by: | MikiSoft | Owned by: | nobody |
---|---|---|---|
Component: | Template system | Version: | 1.10 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Apparently, I've discovered that {% cache 0 name %}
doesn't work - it should cache the content wrapped with it forever i.e. until server restarts, but when I specify it like that then it's not caching it at all, and I don't see any other solution to this. So can someone make it to accept zero as a parameter for unlimited time, like it is in low-level API?
Note:
See TracTickets
for help on using tickets.