Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

What about houdini cold cache? #113

Open
frederikhors opened this issue Mar 24, 2023 · 1 comment
Open

What about houdini cold cache? #113

frederikhors opened this issue Mar 24, 2023 · 1 comment

Comments

@frederikhors
Copy link

Your work is amazing!

I'm curious to understand what do you mean by: "Smart caching with Service Works".

Do you refer to cache for houdini data too?

Something they talk about here: HoudiniGraphql/houdini#250 ?

@xmlking
Copy link
Owner

xmlking commented Apr 17, 2023

Thanks for checking out @frederikhors
I started with @vite-pwa/sveltekit and workbox PWA approach to apply some Cache-controls for static resources but faced build errors with latest SvelteKit vite-pwa/sveltekit#43

  1. idea is to use serviceWork approach for static files and pre-render content(have to revisit once issues are resolved). For now I am disabling PWA in my internal apps.
  2. Use Houdini cache and persistent queries for API cacheing (learn and TODO)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants