You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using togglz in a Spring boot application, I have an endpoind in one of my controllers that fetches all the toggles in the database with a status equal to true. I'm using cache to store the result of the search and not stress the database, however, every time the state of a toggle is changed in the database I need to invalidate this cache, but I wouldn't like to have to implement the StateRepository interface for that, I would like to somehow intercept the request that is made by the console and invalidate the cache based on that intercept.
The text was updated successfully, but these errors were encountered:
I'm using togglz in a Spring boot application, I have an endpoind in one of my controllers that fetches all the toggles in the database with a status equal to true. I'm using cache to store the result of the search and not stress the database, however, every time the state of a toggle is changed in the database I need to invalidate this cache, but I wouldn't like to have to implement the StateRepository interface for that, I would like to somehow intercept the request that is made by the console and invalidate the cache based on that intercept.
The text was updated successfully, but these errors were encountered: