mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-08 21:15:18 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/4077 How it works - Cache-Control opts in caching (Cache-Control: max-age=3600) - cached response is matched by url, method and body - cache is invalidated with Cache-Control change - responses stored with the cache are not replicated across regions - responses are not shared between projects Link for testing https://test-cache-hcevl.wstd.work/?message=hello
Fixture to test/play with webstudio
How to develop
# Terminal 1
cd packages/webstudio
pnpm dev
# Terminal 2
pnpm fixtures:link
pnpm fixtures:sync
# data.json generated
pnpm fixtures:build
# exec `pnpm run dev` to see result