#4023 - Automatic decache of GLOBAL_HTML_WRAP.tpl in new year
| Identifier | #4023 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Automatic decache of GLOBAL_HTML_WRAP.tpl in new year |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | Chris Graham |
| Addon | core |
| Description | Within first hour of a new year, decache GLOBAL_HTML_WRAP.tpl IF it the modification date is from the previous year. Do this in Cron.
This is necessary as the $COPYRIGHT symbol is pre-compiled into templates, and thus even if a dynamic date is configured, it will only work once that template is re-compiled. Having $COPYRIGHT as pre-compiled is important because otherwise you're doing silly little date substitutions on every page view. Small, but enough to be wasteful. This issue is assuming that only GLOBAL_HTML_WRAP.tpl uses $COPYRIGHT. For practical purposes, and because of the triviality of this issue, I think that's fine. |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet