You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You already switched to the CacheTag API for core version 13, in \GeorgRinger\News\Utility\Cache.
This API supports passing lifetimes per tag. You can pass, pseudo-code!, ($news->getStartime() ?: $news->getEndtime()) - $now (only if any is set) to respect the start and end times of news records on-the-fly. Then all news lists and detail pages should automatically respect these enabled fields implicitly without having to deal with TypoScript cache settings or implementing custom solutions.
The text was updated successfully, but these errors were encountered:
You already switched to the
CacheTag
API for core version 13, in\GeorgRinger\News\Utility\Cache
.This API supports passing lifetimes per tag. You can pass, pseudo-code!,
($news->getStartime() ?: $news->getEndtime()) - $now
(only if any is set) to respect the start and end times of news records on-the-fly. Then all news lists and detail pages should automatically respect these enabled fields implicitly without having to deal with TypoScriptcache
settings or implementing custom solutions.The text was updated successfully, but these errors were encountered: