-
The docs state that POST, PUT, and DELETE invalidate cache for that resource. (35.3 - docs)
In my believe PATCH should invalidate the cache the very same way as the other three methods mentioned above. If not, shouldn't it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry for the delayed response @ginccc. I don't know the caching well enough, but it looks like it's basically everything but GET and HEAD that get invalidated https://github.com/resteasy/resteasy-extensions/blob/d7b3cb02c5c95ca45d6c7ce509f4988b16d3b211/cache/cache-core/src/main/java/org/jboss/resteasy/plugins/cache/server/ServerCacheHitFilter.java#L47-L54 |
Beta Was this translation helpful? Give feedback.
Sorry for the delayed response @ginccc. I don't know the caching well enough, but it looks like it's basically everything but GET and HEAD that get invalidated https://github.com/resteasy/resteasy-extensions/blob/d7b3cb02c5c95ca45d6c7ce509f4988b16d3b211/cache/cache-core/src/main/java/org/jboss/resteasy/plugins/cache/server/ServerCacheHitFilter.java#L47-L54