FastCGI with Caching & JSONP -> Caching problem
nginx-forum at nginx.us
Wed Jun 9 01:13:04 MSD 2010
We're currently running a server on nginx and fastCGI with caching enabled.
We're noticing that since the /?jsonp=#### is randomized every call our fastCGI is not properly caching the request.
Can you please help out and direct me into perhaps tellings nginx to ignore any values set by the ?jsonp?
We use REST architecture so the ?jsonp= is the only GET variable we deal with.
Here is our nginx - caching setup
fastcgi_cache_path /var/cache/nginx levels=1:2
fastcgi_cache_valid 200 302 1m;
fastcgi_cache_valid 301 1m;
fastcgi_cache_valid any 1m;
fastcgi_cache_use_stale error timeout invalid_header http_500;
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,96081,96081#msg-96081
More information about the nginx