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

J.Bakshi joydeep at infoservices.in
Fri Feb 1 10:39:30 CET 2008


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,
        ),
*/

But the pages are appering as 10.html , 23.html and so. How can I now
get the pagename ?
kindly enlighten me.
thanks

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



More information about the TYPO3-english mailing list