Share cloudflare cache rules #518
Answered
by
ije
Justinidlerz
asked this question in
General
-
Hi @ije, we just self-hosted the ESM server, but without CDN cache rules, could you please share it with us? |
Beta Was this translation helpful? Give feedback.
Answered by
ije
Feb 8, 2023
Replies: 2 comments 1 reply
-
esm.sh uses CF's workers as the front layer, i added only one page rule to allow Cache Everything, then handle the cache in workers script, basically following the origin server |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Justinidlerz
-
you can DM me by discord |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
esm.sh uses CF's workers as the front layer, i added only one page rule to allow Cache Everything, then handle the cache in workers script, basically following the origin server
cache-control
header