Skip to main content

Ok so I figured cache invalidation was a royal pain in the arse, and that one of the current best ways is to cache infinitely and only invalidate when the associated data is stale. But! How do we know when it is stale?

Effectively the point of this project is to give you a way to formally define caches with meta information such as other caches they depend on (so you can do the “Russian Doll” style caching that 37 Signals went on about), models that caches directly depend upon, other models that might invalidate the cache, and other useful stuff.

There are several other concepts that I thought up too, such as “hooks”.

Of course I will expand the documentation because this project is blatantly really useful for defining a decent caching scheme instead of shitting out some half baked attempt that confuses people and gives everyone stale data all the time.

To-Do

  • Template tags to access HTML templates.

  • Documentation

  • Tests

  • Sorting out how best to trick fucking python-memcached into doing infinite caching.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-babylon-0.1.10.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file django-babylon-0.1.10.tar.gz.

File metadata

File hashes

Hashes for django-babylon-0.1.10.tar.gz
Algorithm Hash digest
SHA256 b4b5e21f5081257d9f11971ac2516103619fb2b0a62c4bc4cd76e10df154283a
MD5 807b7783dd02f4b88dfa2d16b5978f60
BLAKE2b-256 73b0e761d9ab165861fb8fdc551eaf0fbf18505b5866ebe10e407215bb1a6a8b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.13

1 file

0.1.12

1 file

0.1.11

1 file

This release

0.1.10 This release

1 file

0.1.9

1 file

0.1.8

1 file

0.1.7

1 file

0.1.6

1 file

0.1.5

1 file

0.1.4

1 file

0.1.3

1 file

0.1.2

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page