electric-sql / electric-sql/phoenix_sync
Document decision to not send cache headers by default in development
Aperta
- Lingua principale
- Elixir
- Stelle
- 290
- Fork
- 17
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
I noticed when using Phoenix.Sync locally that the browser wasn't caching requests as I hoped. After digging into the code I discovered that I need to configure `send_cache_headers?: true`. This worked nicely, but it would be helpful to document this (along with trade-offs and why I might not want to do this).
https://github.com/electric-sql/phoenix_sync/blob/405710ec71807563d080b4994c2284fe40f5315c/lib/phoenix/sync/electric.ex#L386-L394
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.