Headers go into the view.yml file under http_metas.

For example:
http_metas:
    content-type: text/html
    Expires: 0

Alternatively, you can put those into the .htaccess file and have
Apache dish them out instead.

Daniel


On Aug 10, 3:54 am, gunnarlium <gunnarl...@gmail.com> wrote:
> Hi!
>
> I have an issue where certain users sometimes sees other users
> content. I'm pretty sure this is down to proxy caching in business
> networks.
>
> What is the best strategy to deal with this?
>
> I thought of adding "header('Expires: 0');" for the relevant pages,
> but since it is quite a few, I was wondering if I would be better off
> adding it for all pages. The web site is 98% dynamic content,.
>
> How would I best add a global header?
>
> [symfony 1.4]
>
> -gunnar

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to