[TYPO3] [Find the problem] Re: how to enable no_cache on all the pages ?

Daniel Pötzinger operation-lan at gmx.de
Sat Feb 2 20:46:09 CET 2008


J.Bakshi schrieb:
> Michael Stucki wrote:
>> J.Bakshi wrote:
>>
>>   
>>> Here is a typical problem. I have configured real_url in my typo3
>>> installation and the real url is working only with those pages which
>>> have no_cache enabled.  Hence I have given config.no_cache  = 1 in the
>>> TSsetup section ( out side the page object)  but  no success.
>>> still those pages are working with real url where no_cache is enabled.
>>> How can I enable no_cache for all the pages ?
>>> Please suggest.
>>>     
>> You are trying to fix the wrong problem!
>> There must be something wrong if it only works with non-cached pages.
>>
>> - michael
>>   
> 
> OK Michael,
> 
> thanks a lot to show me the right track,
> 
> I have found the problem. after blocking the following section the real
> url is working ( BUT NOT PROPERLY)
> 
> /*    block code
> 
> 'pagePath' => array(
>             'type' => 'user',
>             'userFunc' =>
> 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
>             'spaceCharacter' => '-',
>             'languageGetVar' => 'L',
>             'expireDays' => 7,
>             'rootpage_id' => 1,
>         ),
> */

Do you have the correct rootpage_id (maybe it is not 1 in you case?)?

Also try to download realurlmanagement and clear all realurl cachetables 
with this extension.




More information about the TYPO3-english mailing list