sfContext::getInstance()->getResponse()->addCacheControlHttpHeader('no-cache')

inside the action that generates the image shuld work

On 7/23/07, Ian P. Christian <[EMAIL PROTECTED]> wrote:
> How can I stop browsers caching dynamically generated images?
>
> I can add a   ?wibble=timestamp or something to the images URL, except I
>  imagine I can do it with a HTTP header, last-modified perhaps?
>
> Thanks,
>
> --
> Ian P. Christian ~ http://pookey.co.uk
>
>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to