https://github.com/ssnepenthe/wp-simple-cache
PSR-16 adapters for the WordPress transient and object caches
https://github.com/ssnepenthe/wp-simple-cache
cache php psr-16 wordpress wordpress-object-cache wordpress-php-library wordpress-transients
Last synced: 4 months ago
JSON representation
PSR-16 adapters for the WordPress transient and object caches
- Host: GitHub
- URL: https://github.com/ssnepenthe/wp-simple-cache
- Owner: ssnepenthe
- License: gpl-2.0
- Created: 2017-05-21T03:37:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-18T20:24:37.000Z (over 8 years ago)
- Last Synced: 2025-07-14T05:30:10.371Z (7 months ago)
- Topics: cache, php, psr-16, wordpress, wordpress-object-cache, wordpress-php-library, wordpress-transients
- Language: PHP
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/pantheon-systems/wp-redis/).
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.**