Hey all,

I've been using FileManager to load and cache Models. However when it
comes to real-world caching using HTTP headers, its approach is too
simplistic since it does not take into account timestamps and
time-to-live.

I wonder what's the simplest way to amend that? Has anyone implemented
such functionality?

I already have a FileManager subclass that overrides several of its
methods, so I could probably implement the time-to-live logic by
overriding getFromCache() etc. But maybe it's easier just to wrap some
Memcache client in those methods and let it do the work.

Martynas
graphity.org

Reply via email to