Hello all,

I have a function in my controller which reads about 4000-8000 images
(depending on the event viewed) and then return a pagination. Since
those images don't change per event I would like to cache them.

First of all can I use view cache? I enabled cache in core.php, and
use $this->cacheAction=true in my action.
app/tmp is writable (chmod -R 777) but no page appears on tmp/cache/
view only the empty file. Is it because I use $this->paginate()?

Can pagination work with cache?

Another solution would be to cache $this->paginate() so not to fetch
data on every request. Can this be done, and how?


thanks a lot

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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

Reply via email to