[wp-hackers] Caching in 2.5: anyone has a file-based caching plugin?

Mahmoud Al-Qudsi computerguru at neosmart.net
Sat Mar 22 22:00:48 GMT 2008


> <http://neosmart.net/blog/2008/wordpress-25-and-the-object-cache/>
> 
> 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
> behind?
> 
> 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:
http://neosmart.net/downloads/software/WordPress/Plugins/object-cache/file-object-cache_1.0.zip

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 :)

Cheers!

-MQ



More information about the wp-hackers mailing list