Skip to content Skip to sidebar Skip to footer
Showing posts with the label Caching

Removing Specific Items From Django's Cache?

I'm using site wide caching with memcached as the backend. I would like to invalidate pages in … Read more Removing Specific Items From Django's Cache?

How To Disable Caching Correctly In Sqlalchemy Orm Session?

I have I thread in a daemon, that loops and performs the following query: try: newslett… Read more How To Disable Caching Correctly In Sqlalchemy Orm Session?

Flask: Caching Static Files (.js, .css)

I really could not find any resource on this. So how can I seperate caching of views/functions than… Read more Flask: Caching Static Files (.js, .css)

Memory-aware Lru Caching In Python?

I'm using Python 3's builtin functools.lru_cache decorator to memoize some expensive functi… Read more Memory-aware Lru Caching In Python?

Caching Sitemaps In Django

I implemented a simple sitemap class using Django's default sitemap application. As it was taki… Read more Caching Sitemaps In Django

Is There A Way To Cache Python 3.5 Definitions Using A Time-to-live Decorator?

Currently, I use functools' lru_cache to handle my caching for the function. The problem is tha… Read more Is There A Way To Cache Python 3.5 Definitions Using A Time-to-live Decorator?