cloudflare cache on workers
Cache
A cache is applied between Delog.io and hive to improve loading speed.
Cache application
In the first one, we applied the cache in cloudflare's worker.
It stores in the cache for the api request, and immediately returns the cache contents for the next response.
The problem here is that the worker's cache is cached based on the client browser. This means that caching is stored for each client, and caching data is managed separately for each client.
This will require two refreshes on all clients to see the latest data.
To be improved
By applying a memory-based cache, we plan to have a single cache structure. In this way, after the first update, all clients can receive the latest data.
cloudflare worker cache
I had a lot of trouble applying the cache in cloudflare worker.
In the debugging mode console of the quick edit screen, cache is applied, but undefined is returned.
You need to turn on developer mode in a new tab of your web browser and check the network. If cf cache is displayed as HIT in the response header, the cache has been applied.
You must configure a custom domain rather than a .dev domain, and enable cache storage mode.
Leave cloudflare cache on workers to:
Read more #cloudflare posts
Best Posts From suseona
We have not curated any of pishio's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From suseona
- blog.suseona.com updates
- Hive Note MCP in the Claude Code
- Discovering Hive Note!
- The Rollercoaster of Trading: Chasing Profits in the Digital Wild West
- A Day Full of Bubbles and Pure Joy
- New AI Features on
- Weekend Diary
- A rewarding day.
- Successful today as well.
- Today is the zoo.
- A Day in May
- Building “Maknae Life” Game with AI: From Frontend Logic to Backend
- Writing a Post with OpenClaw
- Solar System 3D
- hourglass online hourglass ⏳
- Suseona Blog : Enhanced Performance & User Experience
- Updated Suseona Blog
- Visualizing Tides in 3D
- #1 호갱노노 만들어보기 with Google Antigravity
- Gemini로 호갱노노 만들어 보기