[TYPO3-english] evil persistent "no_cache"

Wiel, J.A.M. van de j.a.m.v.d.wiel at tue.nl
Wed Jun 17 11:18:34 CEST 2009


Hi Marcel,
If you have an active BE session, your pages won't be cached. This is normal. Did you use to have the no_cache as a URL parameter in the past? If so, it might still linger in the RealURL path cache.

Bas

________________________________________
From: typo3-english-bounces at lists.netfielders.de [typo3-english-bounces at lists.netfielders.de] On Behalf Of Marcel Remmy [marcel.remmy at fh-kl.de]
Sent: Wednesday, June 17, 2009 10:44 AM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3-english] evil persistent "no_cache"

some additional info:

it's a TYPO3 4.2.6 with recent realurl and templavoila! setup.

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(); }



Marcel Remmy wrote:
> hi all,
>
> as i'm currently trying to speed up page rendering for a t3 instance i
> start looking why a no-cache is being added to all pages.
>
> the admin panel "info" shows no_cache = 1 but now comes the fancy part:
>
> not even one sys_template states no_cache=1, no page in the page tree
> has "no caching" set to 1 nor do i have one extension left that
> obviously invokes some USER_INT or a 'no_cache=1;' command. No COA_INT
> is used at all.
>
> i'm running out of explanations, can some one give me a quick shot what
> else to look for? thanks in advance.
>
> marcel
>
> ps:
> $TYPO3_CONF_VARS['FE']['disableNoCacheParameter'] = '1'
> // this does the job, but i'm afraid that does not answer my question
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list