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 found that while Cloudflare Pages' advanced mode function and Cloudflare Workers are almost the same, it seems that Cloudflare Pages' advanced mode function runs after Cloudflare's edge cache while a Cloudflare Worker always runs before the cache. cloudflare/cloudflare-docs#20445
For sites that want to do SWR, it can be better to leverage Cloudflare's cache rules instead of using Cloudflare's cache API from within a worker.
The text was updated successfully, but these errors were encountered:
If it's a long-term decision, we could separate two options: ---with-cloudflare-workers and --with-cloudflare-pages
Isn't the plan to integrate Workers and Pages in the future?
And, it depends on how much percentage of waku + cloudflare users need Pages.
Another option is to allow a user-defined deploy adapter.
We updated our
--with-cloudflare
build option from Cloudflare Workers to Cloudflare Pages and then back to Cloudflare Pages with Static Assets.Related:
I found that while Cloudflare Pages' advanced mode function and Cloudflare Workers are almost the same, it seems that Cloudflare Pages' advanced mode function runs after Cloudflare's edge cache while a Cloudflare Worker always runs before the cache. cloudflare/cloudflare-docs#20445
For sites that want to do SWR, it can be better to leverage Cloudflare's cache rules instead of using Cloudflare's cache API from within a worker.
The text was updated successfully, but these errors were encountered: