View Issue Details

IDProjectCategoryView StatusLast Update
0004023Composrcorepublic2020-01-23 17:19
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0004023: Automatic decache of GLOBAL_HTML_WRAP.tpl in new year
DescriptionWithin 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.
TagsRoadmap: v11
Time estimation (hours)0.5
Sponsorship open

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-03 19:21 Chris Graham New Issue
2020-01-03 19:21 Chris Graham Tag Attached: Roadmap: v11
2020-01-23 17:19 Chris Graham Assigned To => Chris Graham
2020-01-23 17:19 Chris Graham Status non-assigned => resolved
2020-01-23 17:19 Chris Graham Resolution open => fixed