November 19, 2015 06:46PM
Maxim Dounin Wrote:
-------------------------------------------------------
> Multiple cache files for the same key can be created if a backend
> response uses the Vary mechanism to allow multiple resource
> variants. It is supported and taken into account when caching
> since nginx 1.7.7, http://nginx.org/en/CHANGES:

THANKS THANKS so much!

My solution taken:
- using mod_deflate only for apache listening at 443 only (it is a cpanel host)
- deactivate mod_deflate at apache at 8081 (now, there is no vary at all)
- nginx using apache 8081 as proxy_cache server.
- now nginx is the one sending cache elements using gzip if required.

For me, this is really better that apache proccessing twice, and nginx storing twice (or more) due to vary.

Thanks, again.
Subject Author Posted

Nginx cache 1 KEY into multiple cache files (cache not running)

semseoymas November 18, 2015 09:40PM

Re: Nginx cache 1 KEY into multiple cache files (cache not running)

semseoymas November 18, 2015 11:31PM

Re: Nginx cache 1 KEY into multiple cache files (cache not running)

Maxim Dounin November 19, 2015 08:28AM

Re: Nginx cache 1 KEY into multiple cache files (cache not running)

geberhart November 19, 2015 09:14AM

Re: Nginx cache 1 KEY into multiple cache files (cache not running)

Maxim Dounin November 19, 2015 11:00AM

Re: Nginx cache 1 KEY into multiple cache files (cache not running)

semseoymas November 19, 2015 06:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 125
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