You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does souin implement asynchronous background fetching similar to varnish grace setting?
I could not find anything about it in the docs and it seems to ignore my cache-control response header of my upstream webserver. public, max-age=120, stale-while-revalidate=3600.
after the content turns stale souin replies once with: Cache-Status: Souin; fwd=uri-miss; key={{key}}-/; detail=UNCACHEABLE-STATUS-CODE
Hello @the-leonat sorry for the delay, I was on other subjects.
In theory the stale while revalidate is working but seeing your issue, there is probably a bug.
After reading your issue, it seems the revalidation doesn't work, because it tries to store the given response that has a 304 status code. the revalidation block is the following:
Does souin implement asynchronous background fetching similar to varnish
grace
setting?I could not find anything about it in the docs and it seems to ignore my cache-control response header of my upstream webserver.
public, max-age=120, stale-while-revalidate=3600
.after the content turns stale souin replies once with:
Cache-Status: Souin; fwd=uri-miss; key={{key}}-/; detail=UNCACHEABLE-STATUS-CODE
server responds with code
304
.but 304 is not a cacheable status code by implementation. is this a bug?
The text was updated successfully, but these errors were encountered: