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
When specifying the cacheTagsgetCacheTagsToInvalidateOnUpdate() method should return it.
All that is returned so far is getCacheBaseTags(), the cached updated tags are static::class, not the specified tags.
Just like the flushQueryCache() method, use it if tags are specified, otherwise use the getCacheBaseTags() method.
The text was updated successfully, but these errors were encountered:
Tags can be added to the Model after the queried. getCacheTagsToInvalidateOnUpdate() method to obtain the Model of the specified Tags, if the Model exists to specify Tags.
shixue
changed the title
On update, cache refresh bug
On update, cache flush bug
Jan 25, 2024
The cause of this bug (issues #97) :
QueryCacheable:
Example:
When specifying the
cacheTags
getCacheTagsToInvalidateOnUpdate()
method should return it.All that is returned so far is
getCacheBaseTags()
, the cached updated tags arestatic::class
, not the specified tags.Just like the
flushQueryCache()
method, use it if tags are specified, otherwise use thegetCacheBaseTags()
method.The text was updated successfully, but these errors were encountered: