Re: nginx caching proxy

2018-10-25 Thread Gryzli Bugbear
Except the case when your site is returning "Vary: Accept-Encoding" for example and the 2 clients are using different Accept-Encoding headers  (that's also true for whatever the Vary header is)  :) On 10/25/18 4:20 PM, Roman Arutyunyan wrote: On Thu, Oct 25, 2018 at 07:21:35AM -0400, vizl wrot

Re: [nginx] Please add [nginx] to subject

2018-10-15 Thread Gryzli Bugbear
+1 from me as well. I also think this will be of help to many users. On 10/15/18 1:35 PM, Stefan Mueller wrote: In answer to Ralph's reply. That is a very Gmail specific solution but, thanks god, not anyone is using Gmail. For them it needs other solutions. Anyway we should not focus on labeli

Accessing Nginx Cache mappings

2017-07-28 Thread Gryzli Bugbear
Hi guys, I'm trying to implement cache-purger, which is using lua and separate VirtualHosts, to clean the cache for a certain site/location based on URI regex (similar to Varnish). Is there some easy way (module/function or whatever), by which I could access the internal Nginx cache mapping

Re: Changing upstream response headers, before nginx caching decisions

2017-06-23 Thread Gryzli Bugbear
Hi Maxim, Thanks for your prompt answer ! That's exactly what I'm using currently, but was thinking if there is some more elegant/performance-effective way of doing this thing. Regards On 06/23/2017 03:09 PM, Maxim Dounin wrote: Hello! On Fri, Jun 23, 2017 at 02:31:37PM +03

Changing upstream response headers, before nginx caching decisions

2017-06-23 Thread Gryzli Bugbear
Hello everybody, I have the following working scheme: Client --> Nginx [caching] --> Apache [backend] Sometime the backend returns headers, which I want to modify before nginx caching engine decides how to treat them. One such example is when backend returns Vary: header. I want to achi