Re: Weird issues with fastcgi_cache and images

2015-03-06 Thread itpp2012
Some curl examples; https://wordpress.org/support/topic/if-modified-since-request-header-can-cause-a-cache-control-negative-max-age It all depends on what you get against what you expected. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257078,257109#msg-257109 ___

Re: Weird issues with fastcgi_cache and images

2015-03-06 Thread Bertrand Caplet
> Have you tried this with curl -i to see if it's not a browser cache issue? > > Sounds like a cached file with an expire date which is still valid against > your expire date from cache. I tried yesterday but I don't really see the point... What should I look for ? I set a header to see if cache

Re: Weird issues with fastcgi_cache and images

2015-03-05 Thread itpp2012
Have you tried this with curl -i to see if it's not a browser cache issue? Sounds like a cached file with an expire date which is still valid against your expire date from cache. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,257078,257079#msg-257079 __

Weird issues with fastcgi_cache and images

2015-03-05 Thread Bertrand Caplet
Hey guys, I got a strange issues when I activate fastcgi_cache some images doesn't load on first load of the page but when hitting refresh it loads. Here's my configuration : location ~ \.php$ { # FastCGI optimizing fastcgi_buffers 4 256k; fastcgi_buffer_size 128k;