[wp-hackers] Caching in 2.5: anyone has a file-based caching
computerguru at neosmart.net
Sat Mar 22 22:00:48 GMT 2008
> Since fs based caching has been removed from 2.5, has anyone come up
> w/ a plugin alternative or are ppl w/ restrictive shared host left
> Could also be useful for local dev, so we don;t need apc, memcache,
> etc to write and test caching in our plugins.
> I do run memcache locally anyway for other dev, so I'll be okay, but
> not everybody does.
This should do the trick:
Just extract it to /wp-content/object-cache.php and you should be good to go. Let me know if it gets the job done and I'll publish it in a more "official" manner. (since it resides in wp-content it's a plugin... it just doesn't show up in the admin center's plugin page though).
I'm willing to take up the maintenance of the file-based caching along with NST's existing WP plugins for XCache and eAccelerator; as you point out, it can be pretty important :)
More information about the wp-hackers