[Plone-IT] cachare le select di ZSQL

Yuri yurj a alfa.it
Lun 4 Ago 2008 07:24:49 UTC


My ZSQL product has a very simple feature for hooking up up to
memcache but with one caveat: that you can't invalidate the cache.
It only works for selects of course but it's really easy to work with. E.g.

SQLSelectAverageUserAge(min=10, max=20, memcache__=True)
 (defaults to 5*60 seconds)
SQLSelectAverageUserAge(min=10, max=20, memcache__=10)
 (10 seconds)


puņ essere utile a qualcuno.

Maggiori informazioni sulla lista Plone-IT