Replies: 1 comment
-
This was what I posted in Discord last year about Cloudflare and Etags.
https://support.cloudflare.com/hc/en-us/articles/218505467-Using-ETag-Headers-with-Cloudflare https://discord.com/channels/770287896669978684/933780834689880144/934105177751961600 |
Beta Was this translation helpful? Give feedback.
-
I'm trying to implement cache management using
ETag
but theif-none-match
header is vanished apparently due to a bug with Cloudflare pages.I can't see the
if-none-match
header in theentry.server.tsx
handleRequest/request
argument nor in the moduleheaders#headers
argument.This makes the use of
ETag
impossible, doesn't it ? Or I'm missing something ? 🤔My goal is to handle cache management with
Etag
at theloader
level by comparing theETag
returned by the API with theif-none-match
header of the request.Beta Was this translation helpful? Give feedback.
All reactions