These are chat archives for cherrypy/cherrypy

Oct 2018
Oct 07 2018 23:07
so if I use tools.caching what are the appropriate parameters to tell it not to cache / ensure it sends no-cache to the client?
Thanks btw, that helps clarify some things I was wondering about
I've been using CherryPy in production since 2016 and happy, just caching of static files out of nowhere has me confused. I normally would rely on Apache or nginx to handle static files, but we're deploying a particular tool with only CherryPy alone.
Sviatoslav Sydorenko
Oct 07 2018 23:47
@Giancarlos use expires tool with secs=0, as stated in this docstring:
caching tool does not set response such header
If you have non-standard requirements you might want to start writing your own tools :)