[TYPO3-english] evil persistent "no_cache"
Jigal van Hemert
jigal at xs4all.nl
Wed Jun 17 12:17:05 CEST 2009
Marcel Remmy wrote:
> the root of all evil seems to be this line in
> typo3/sysext/cms/tslib/index_ts.php
> if ($TSFE->forceTemplateParsing || $TSFE->displayEditIcons ||
> $TSFE->displayFieldEditIcons) { $TSFE->set_no_cache(); }
No 'evil' in that line, just logic :-)
If you want to force template parsing with each page, the page can't be
cached.
If you are editing the frontend, the page can't be cached.
Normal visitors (without being logged in in the backend at the same
time, so no options for displaying edit icons and stuff activated) the
caching will be active.
--
Jigal van Hemert.
More information about the TYPO3-english
mailing list