How to determine if CherryPy is a response cache?

Is it possible that CherryPy, in its default configuration, caches responses to one or more of my request handlers? And if so, how do I disable this?

+3
source share
2 answers

CherryPy has a caching tool, but it is never enabled by default. However, most HTTP responses are cached by default, so find an intermediate cache between your client and server. First look at the browser.

If you are not sure if your content is cached, compare the date response header with the current time.

+4
source

Per , ( GET), ,

tools.caching.on = False
+6

Source: https://habr.com/ru/post/1765314/


All Articles