I'm using Nginx as a caching proxy server. I have problems with caching responses using both X-Accel-Expires and Cache-Control headers. My upstream returns some request body with headers to nginx: [...] X-Accel-Expires: 60 Cache-Control: no-cache [...] My intent is that nginx will cache response for 60 seconds but clients will get only cache-control: no-cache header (so they will not caby tereska - How to...
![]() |
![]() |
![]() |
![]() |
|