Tuesday, May 24, 2011

Re: changing cache path with Cache::set

On 05/22/2011 03:10 AM, Perkster wrote:
> Did you ever figure this out? I'm having the same issue, too!
>
> --
> View this message in context: http://cakephp.1045679.n5.nabble.com/changing-cache-path-with-Cache-set-tp4400159p4415992.html
> Sent from the CakePHP mailing list archive at Nabble.com.
>

there doesn't seem to be a direct solution to this :(

and surely it doesn't help to set something for cache in the controller
since if the view cache file is already created the controller's code is
not invoked...

however, I solved my issues using the approach presented here:
http://www.sanisoft.com/blog/2010/06/21/cakephp-cache-views-by-domain-a-cache-helper/

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com


--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: