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
I’ve been experimenting with blobs as a programmable cache as described in this Netlify blog post.
If I inspect the stored blob's etag (by outputting it in a header for instance), the value is always undefined. If, however, I list the contents of the store (which contains just the single blob), then the etag for the same stored blob changes with each request.
I'd expect the etag to be always present and unchanging until a new version of the resource is stored. It works as expected when deployed.
Steps to reproduce
Here’s the code executed with each request after the blob has already been stored…
Describe the bug
I’ve been experimenting with blobs as a programmable cache as described in this Netlify blog post.
If I inspect the stored blob's etag (by outputting it in a header for instance), the value is always
undefined
. If, however, I list the contents of the store (which contains just the single blob), then the etag for the same stored blob changes with each request.I'd expect the etag to be always present and unchanging until a new version of the resource is stored. It works as expected when deployed.
Steps to reproduce
Here’s the code executed with each request after the blob has already been stored…
And here’s the output of my edge function named “transform” after 3 consecutive requests (without modifying the store or updating the blob)…
The etag is different with each request. It works as expected when deployed to Netlify.
Configuration
No response
Environment
The text was updated successfully, but these errors were encountered: