Caching images?

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Caching images?


I'm trying to cache images from mysql, but it doesn't seem to work.
Images are loaded slowly and "tmp/cache/views" folder is empty.

To display a image, I use the view "images/display/$id". I have added
the CACHE_CHECK thing to core.php. I wrote this on images controller:

var $helpers = array('Cache');
var $cacheAction = array('display/' => 100000);

What else should I do?

 You received this message because you are subscribed to the Google Groups "Cake PHP" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at