Im dealing with some forum software that always sends a no-cache header and a cookie, even for guests.
This always causes my NGINX fastcgi_cache to be bypassed :(
Varnish is typically used in front of NGINX on these forums to act as a micro-cache.
It accomplishes this with a special rule to cache things for 1 day, but if there is a no-cache header or Cookie being set, it will STILL CACHE for at least 60 seconds, effectively creating a microcache of 60 seconds for dynamic content.
Is there any way to pull this off with NGINX?
I have a bad feeling I will need an NGINX instance as a proxy to another NGINX instance.
Im hoping this can be done with a single instance and some slick fastcgi setup.
Is this even possible?
This always causes my NGINX fastcgi_cache to be bypassed :(
Varnish is typically used in front of NGINX on these forums to act as a micro-cache.
It accomplishes this with a special rule to cache things for 1 day, but if there is a no-cache header or Cookie being set, it will STILL CACHE for at least 60 seconds, effectively creating a microcache of 60 seconds for dynamic content.
Is there any way to pull this off with NGINX?
I have a bad feeling I will need an NGINX instance as a proxy to another NGINX instance.
Im hoping this can be done with a single instance and some slick fastcgi setup.
Is this even possible?