Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documenter gestion cache par le front #789

Open
Numero7 opened this issue Feb 10, 2025 · 1 comment
Open

documenter gestion cache par le front #789

Numero7 opened this issue Feb 10, 2025 · 1 comment
Labels
doc Improvements or additions to documentation frontend

Comments

@Numero7
Copy link
Collaborator

Numero7 commented Feb 10, 2025

Ajouter au README suffisamment d'infos pour lapreprise de maintenance du front

cache géré par tanstack
configuration de queryClient retry timleout

invalidation à la main

queryClient.removequeries

setQueryData --> à la main côté front
attention! le back ne doit pas casser le contrat --> dangeureux

@Numero7 Numero7 converted this from a draft issue Feb 10, 2025
@Numero7 Numero7 changed the title documenter invalidation de cache à lka main documenter gestion cache par le front Feb 10, 2025
@Numero7 Numero7 moved this from Backlog PO to Backlog in MonProjetSup Feb 10, 2025
@Numero7 Numero7 moved this from Backlog to Refinement tech in MonProjetSup Feb 10, 2025
@Numero7 Numero7 added the doc Improvements or additions to documentation label Feb 10, 2025
@Numero7 Numero7 moved this from Refinement tech to Backlog in MonProjetSup Feb 12, 2025
@Numero7 Numero7 moved this from Refinement PO to Refinement tech in MonProjetSup Feb 12, 2025
@Numero7 Numero7 moved this from Refinement tech to Backlog in MonProjetSup Feb 13, 2025
@Numero7
Copy link
Collaborator Author

Numero7 commented Feb 13, 2025

@Julieloy exemple d'invalidation de cache ici:

https://github.com/betagouv/monprojetsup/pull/809/files#r1954905869

sur le modèle de @Maxgux

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc Improvements or additions to documentation frontend
Projects
Status: Backlog
Development

No branches or pull requests

1 participant