up text. Although thats probably more in the realm of a full caching
On May 24, 8:45 pm, Christopher Davis <
c...@chrisjdavis.org> wrote:
> I agree. I don't really see a downside in throwing some cache around
> on the get().
> On May 24, 2008, at 2:59 PM, Chris Meller wrote:
>
> > md5() expects a string, so you'd need to serialize the array first
> > anyway.
>
> > I would say that there is no down-side to some extra caching, and a
> > potentially great benefit, so why not add in some caching? Just make
> > sure that the 'index' structure is such that you can easily wipe out
> > all the cached results when a post is published / updated, so we can
> > always ensure that what's being returned from Posts::get() is the
> > most current data.
>