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

Invalidate Result cache? #987

Open
stephanvierkant opened this issue Oct 5, 2022 · 3 comments
Open

Invalidate Result cache? #987

stephanvierkant opened this issue Oct 5, 2022 · 3 comments

Comments

@stephanvierkant
Copy link
Collaborator

I'm using the Result cache (Resources/doc/cache.md) but when I change the data, the cache doesn't invalidate. I'm using Docrtrine Cache on multiple places in my application and it works as expected, but for Datatables cache invalidation doesn't work.

Anyone found out how to invalidate the Doctrine cache that this library uses?

@Eloar
Copy link
Contributor

Eloar commented Oct 5, 2022

How do you change data?

@Seb33300
Copy link
Collaborator

Seb33300 commented Oct 5, 2022

Yeah, doctrine cache only works when data is updated with doctrine.
If you update the data directly in the database, the cache will not be invalidated.

@stephanvierkant
Copy link
Collaborator Author

How do you change data?

I'm changing the data with a Symfony Form

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

3 participants