-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache without using filesystem #116
Comments
In RPB Chessboard, caching is used to store some dynamically generated CSS code, that is not likely to change often, but that cannot be defined in a fully static way. The idea is to avoid having to much CSS inlined each time a page is generated. Do you have a suggestion to achieve this in a more proper way? |
WordPress has its own built-in caching method. You can use Complete documentation is here: |
But WP_Object_Cache is not intended for file caching, am I wrong? |
WP_Object_Cache is a key/value store. You can use it for many things. I've created a PR uses the object cache. If you're concerned about inlining the CSS, I can rewrite this so we generate distinct, cacheable URLs for each cached CSS blob and enqueue them. |
It seems that the function |
WordPress VIP support will not allow this plugin to be used until this issue is addressed:
helpers/cache.php
This cache mechanism must be rewritten as it relies on the filesystem
The text was updated successfully, but these errors were encountered: