On Wed, Jun 10, 2009 at 10:56 AM, Matt Curry<m...@mcurry.net> wrote:
>
> I don't think caching will help you here, since the image is a static
> file.  The big difference is that in the case where you just link to
> the image your web server can return it directly.  When you go through
> the MediaView your webserver needs to use PHP which will always be
> slower, regardless of the framework.
>
> If you're just trying to prevent link stealing you should look into
> handling this directly with your web server.
>

Just to add to Matt''s comment: look into using mod_rewrite to prevent
hotlinking. Using MediaView for this is overkill.

--~--~---------~--~----~------------~-------~--~----~
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