Alex
October 04, 2011 08:28PM
Nginx 1.0.x

I have set up my cache like this:


proxy_cache_key $host$uri$is_args$args;
proxy_cache_methods POST;
proxy_cache STATIC;
proxy_cache_valid 200 1d;
proxy_cache_use_stale error timeout invalid_header updating http_500
http_502 http_503 http_504;

The URLs that are not being cached are of this form:

URI?id=parameter&h=parameter or URI?
id=parameter&h=parameter&w=parameter


Any ideas how I can configure the cache key so that uris with those
parameters get cached too?

Thanks,

Alex

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

Nginx does not Cache Google Adsense and Some other widgets - help

Alex October 04, 2011 08:28PM

Re: Nginx does not Cache Google Adsense and Some other widgets - help

Reinis Rozitis October 05, 2011 07:06AM

Re: Nginx does not Cache Google Adsense and Some other widgets - help

Alex October 05, 2011 10:16AM

Re: Nginx does not Cache Google Adsense and Some other widgets - help

Reinis Rozitis October 05, 2011 01:16PM

Re: Nginx does not Cache Google Adsense and Some other widgets - help

Alex October 06, 2011 10:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 106
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready