Can someone tell me how caching in media views is supposed to work?

example:
        $this->view = 'Media';
        $params = array(
              'id' => $id,
              'cache' => 100000,
              'download' => false,
              'extension' => 'jpg',
              'path' => 'restricted' . DS . 'uservideo' . DS

       );
       $this->set($params);

Works fine but I get the feeling its not caching. The headers of the
images are 200 OK not 304
Am I doing something wrong? Or am I misunderstanding / overlooking
something?
'cache'=>true does not change anything either...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to