Don't do any caching logic if we are only serving payloads.
Currently, if we are only supposed to be serving images, the devserver
-at startup- might still try to clean its cache. This is unintended and
incorrect. If we are only supposed to be serving payloads, we shouldn't
have any additional side-effects.
TEST=Ran w/ w/out archive_dir also ran unittests + pylint + --clear_cache w |
w/out data. A canary with vmtests and a paladin.
Commit-Ready: Chris Sosa <firstname.lastname@example.org>
Reviewed-by: Chris Sosa <email@example.com>
Tested-by: Chris Sosa <firstname.lastname@example.org>
1 file changed