Acato
Forum Replies Created
-
Forum: Plugins
In reply to: [WP REST Yoast Meta] Data missing after updatingHi @neufeld
I am not sure which title you are refering to? Are you sure you are not looking for the title which is already in de default REST API call? If not can you perhaps supply an example?
Forum: Plugins
In reply to: [WP REST Yoast Meta] Data missing after updatingHi @falkovic @lestersconyers @neufeld
Thank you all for using our plugin!
Sorry for the delay, last week I was at WordCamp Europe so I did not have time to investigate this any further. Now we have managed to reproduce the error and found a fix for it. We have just released a new version of our plugin which should fix the issue. Please keep in mind: pages/posts which already have the error should be saved again in order to solve the error.
Please let us know if the error is solved, so we can mark this issue as resolved.
Forum: Plugins
In reply to: [WP REST Cache] Routes aren’t getting cachedThis thread has been marked as resolved due to lack of activity.
You’re always welcome to open a new topic.
Thanks for understanding!
Forum: Plugins
In reply to: [WP REST Cache] build_request_uri not store correct request uriHi @redcastor
Thank you for your suggested fix. We will however do it a little different, since your fix might introduce some bugs in certain setups.
The fix will be included in our next release.
Forum: Plugins
In reply to: [WP REST Cache] Hide Clear REST Cache in Admin Bar MenuHi @testcouch
Thank you for using our plugin and thank you for your suggestion!
We will include a filter in our next release allowing you to hide the
Clear REST cachebutton from the wp-admin bar.Forum: Plugins
In reply to: [WP REST Cache] JWT authentication compatibility?Hi @menathor
We have not yet tested it with that plugin, but maybe if you can tell me your use case scenario I can tell you if it will work.
Forum: Plugins
In reply to: [WP REST Cache] Possible to add a filter for cache_key in build_request_uriHi @redcastor
Wow, you have been busy these past few days, thank you for that. This message is to let you know that I will have a look at it, but since I have just been to WordCamp Europe I am a little busy right now. But I will get back to you.
Forum: Plugins
In reply to: [WP REST Cache] Caching by different user’s rolesYou’re welcome!
Please let us know if we can be of any more assistance.
Forum: Plugins
In reply to: [WP REST Cache] Set CORS HeadersThis thread has been marked as resolved due to lack of activity.
You’re always welcome to open a new topic.
Thanks for understanding!
Forum: Plugins
In reply to: [WP REST Cache] Caching by different user’s rolesHi @jkhaoqi110
Thank you for using our plugin!
We do not have plans to support this in the near future, but I will add it to our list of improvements. So don’t expect it real soon, but we will investigate if we can support it.
As a quick-fix, maybe you can add the user role as a parameter to the REST call? Each parameter will cause a new cache record to be created, so this might solve your problem for now.
- This reply was modified 7 years, 1 month ago by Acato.
Forum: Plugins
In reply to: [WP REST Cache] Compatibility with other cache pluginsHi @jenilk
We just released a new version of our plugin, which includes a check to see if you are using external object cache and if Memcache(d) is installed. If so a checkbox is available on the settings page of our plugin which can be checked if Memcache(d) is indeed used. Once the checkbox is checked the transients will all be stored as a unix timestamp, which should fix the problem.
Forum: Plugins
In reply to: [WP REST Cache] Automatically cache a flushed cacheHi @euveng
We just released a new version of our plugin which includes the regeneration of expired (or flushed) caches. It is a setting which you will need to enable, otherwise no regeneration will be done.
Forum: Plugins
In reply to: [WP REST Cache] Possible to add a filter for cache_key in build_request_uriHi @redcastor
Thank you for using our plugin!
Unfortunately the suggested filter will not work. The function
build_request_uri()is called from within a must use plugin, so before any plugin or theme is loaded and therefore before anyadd_filter(..)is run.We do however want to implement a solution for this problem. Can you tell me what exactly the language headers are that wpml adds?
As a quick-fix (until we have a better solution) you could maybe add the language as a parameter to the REST call. Each parameter will cause a new cache record to be created, so this would solve it for now.
Forum: Plugins
In reply to: [WP REST Yoast Meta] Update check_requirements to allow MU installsThank you for using our plugin and thank you for your code change suggestion! We have just released a new version which includes your fix.
Forum: Plugins
In reply to: [WP REST Cache] Response times not changedHi @biellz1221
Thank you for using our plugin!
You should see a difference in response times right away. And since you do see cached items the plugin seems to be working fine. Just to be sure: do you see items in the
Enpoint API Cachesand in theItem API Caches? If so the plugin is caching the requests fine.
That would leave a few possible causes to your extremely low response times:- Are you calling endpoints that aren’t cached at all (i.e. custom endpoints)? If so you could register them for caching also, see the FAQ
Can I register my own endpoint for caching?https://wordpress.org/plugins/wp-rest-cache/#can%20i%20register%20my%20own%20endpoint%20for%20caching%3F - Are you doing a lot of calls at the same time? And is your server perhaps limiting the number of simultanious calls? This is something I have seen happening, which causes the calls above the max number of simultanious calls to be extremely slow
- Isn’t it a problem with your server/hosting? If the server is extremely slow, there isn’t much any plugin can do.