Francis Daly
January 20, 2015 07:30AM
On Tue, Jan 20, 2015 at 11:46:36AM +0100, Jan Algermissen wrote:
> On 19 Jan 2015, at 21:38, Francis Daly <francis@daoine.org> wrote:

> > Completely untested, but, depending on how you connect to upstream, does
> > "proxy_hide_header" or "proxy_ignore_headers" do what you want?
>
> Do you have any idea, how I can then best re-add the header? The case came up that clients need an explicit Cache-Control: no-cache (to ensure reload of the page when hitting the back button …)
>

In general, http://nginx.org/r/add_header

But for this specific header, perhaps "expires" on the same page is more useful.

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 19, 2015 02:46PM

Re: How to adjust Cache-Control for SSI-including entities

Francis Daly January 19, 2015 03:40PM

Re: How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 19, 2015 04:22PM

Re: How to adjust Cache-Control for SSI-including entities

itpp2012 January 19, 2015 04:39PM

Re: How to adjust Cache-Control for SSI-including entities

Jan Algermissen January 20, 2015 05:50AM

Re: How to adjust Cache-Control for SSI-including entities

Francis Daly January 20, 2015 07:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 79
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready