Skip to content

PSR-16 adapters for the WordPress transient and object caches

License

Notifications You must be signed in to change notification settings

ssnepenthe/wp-simple-cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wp-simple-cache

This library wraps the WordPress transient and object caches in the PSR-16 simple cache interface.

This repo represents an experiment to see what a PSR-16 implementation for WordPress might look like.

It is inefficient, especially so for the *Multiple() methods and it is only tested against the WP-Redis Object Cache Backend by Pantheon Systems.

It is probably ok for use on a site where you have complete control and are using the WP-Redis object cache backend, although you might want to avoid the *Multiple() methods.

It is most certainly not ready for use in plugins or themes intended for public release/distribution.

Basically - Don't use this.