PaulV,
I've encountered a similar problem. For now I've worked around it by
putting the following AT THE BOTTOM of my .htaccess file:
RewriteRule ^$ /controller/action [R,L]
RewriteRule ^/$ /controller/action [R,L]
If you want to read all the gory details on why this is happening:
http://www.siteamonth.com/archives/2007/02/21/cakephp-cache-workarounds-part-1/
-Matt
On Feb 20, 6:51 pm, "PaulV" <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> I am trying to improve the performance of loading my home page by
> turning on view caching in Cake Stable: 1.1.13.4450
>
> My home page (e.g. at http://<myurl>/) is routed to a custom
> controller using the following in routes.php
>
> $Route->connect('/', array('controller' => 'pub', 'action' =>
> 'index', ''));
>
> where I have a custom controller "pub_controller.php" with a custom
> action "index" and the appropriate CACHE_CHECK global and cacheAction
> variables have been set.
>
> When I visit the home page, no file gets created in the tmp/cache/
> views directory. If I visit other URLs, a cache file is created (eg. I
> visit pub/index as above).
>
> Can someone let me know how I can solve this problem?
>
> Thanks,
> Paul
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---