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

Reinis Rozitis r at roze.lv
Wed Oct 5 11:05:13 UTC 2011


> Nginx does not Cache Google Adsense

To understand this correctly - theese requests aren't coming directly from 
google servers (otherways unleast you put nginx as a proxy above google it 
won't  be able to cache anything)?



> The URLs that are not being cached are of this form:
> URI?id=parameter&h=parameter  or URI? 
> id=parameter&h=parameter&w=parameter

Can you show what the full request headers look like (for example with: 
wget -S url)?

You have: proxy_cache_valid      200  1d;

which means that only 200 responses are cached and not for example 301 or 
302 .. (you can try to remove '200' and see if the response is cached then).



rr 



More information about the nginx mailing list