Bug #87962
closedIncorrect cache lifetime for MetaTag Cache
0%
Description
Sometimes the cache lifetime of meta tags is still not the same as the cache-time of the page.
See the attached Screenshot which shows the cache_pages_tags joined to the cache_pages tables. The page with uid 1 has a cache lifetime of 15 Minutes. Still the html5 metatags are cached longer than the rest of the page. (1 day)
I am not sure how this happened. #86234 introduced the lifetime, but we still sometimes get the error that meta-viewport tag is not available on the page. That's why we decreased the cache lifetime to 15 minutes. But today it happened again and when checking, we noticed that the cache entry for the html5 metatags only was <meta name="generator" content="TYPO3 CMS"> and the viewport metatag was missing.
We set the meta viewport with the following TypoScript:
page.meta.viewport = width=device-width,initial-scale=1
We have USER_INT objects on the page, multiple page-types and additional cache tags (tx_vierwdcanzler_domain_model_project), but as far as I can see those were not responsible for the problem. It's really hard to debug, because it only happens were infrequently and once the cache is cleared, everything works fine.
Files