Welcome! Log In Create A New Profile

Advanced

Re: [Patch] proxy cache for 304 Not Modified

Woon Wai Keen
September 19, 2011 04:28PM
On 2011-09-16 1:54 AM, ビリビリⅤ wrote:
> I cannot found where can using nginx internal cache update without
> delete the old cache, so I using reopen the cache file to write a new
> expire header. Can anyone help me to fix this problem?
I did this a few months ago but lost my changes in a laptop crash :(

I also faced the problem where the file handles are opened read-only.
The way I went about it at the time was to hack ngx_open_and_stat_file()
to open files readwrite. Which wouldn't be an acceptable way to get the
patch accepted back into upstream, so the way you're doing it looks better.

Will comment on the rest of your patch tomorrow, cheers.

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

[Patch] proxy cache for 304 Not Modified

ビリビリⅤ 2970 September 15, 2011 01:56PM

Re: [Patch] proxy cache for 304 Not Modified

Maxim Dounin 909 September 16, 2011 11:54AM

Re: [Patch] proxy cache for 304 Not Modified

magicbear 1912 September 16, 2011 04:36PM

Re: [Patch] proxy cache for 304 Not Modified

Maxim Dounin 745 September 19, 2011 06:48AM

Re: [Patch] proxy cache for 304 Not Modified

magicbear 1154 September 19, 2011 12:50PM

Re: [Patch] proxy cache for 304 Not Modified

Maxim Dounin 843 September 21, 2011 02:02PM

Re: [Patch] proxy cache for 304 Not Modified

magicbear 1012 September 21, 2011 04:34PM

Re: [Patch] proxy cache for 304 Not Modified

Woon Wai Keen 824 September 22, 2011 05:00PM

Re: [Patch] proxy cache for 304 Not Modified

magicbear 891 September 22, 2011 06:08PM

Re: [Patch] proxy cache for 304 Not Modified

magicbear 1498 September 25, 2011 03:20PM

Re: [Patch] proxy cache for 304 Not Modified

Woon Wai Keen 792 September 19, 2011 04:28PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready