O'Reilly logo
  • Chris Kang thinks this is interesting:

By convention, key names start with the name of your application or plugin, followed by a /, and continuing to separate sections of the key name with /’s. The value you store can be anything that is convertible to json, since that’s how it’s represented in the .cache directory.


Cover of Python Testing with pytest


As shown in the example of cache output, key and value are separated by ":" in the cache file.