Thin Python Cache Decorator

This is designed with django in mind, but you can replace cache.set and cache.get with any cache cache framework of your choice. Also, I use slugify because many cache frameworks don't like spaces in cache key names. Slugify replaces them with dashes.

Usage is straightforward:

© 2022 | RSS | @omarish