Make it even faster if possible
-
Hi I’d like to propose a suggestion,
I’m using mamp pro on macos Catalina and WordPress speed is really slow woocommerce api takes around 2 seconds each request I have no other plugin used also,just woocommerce.So I’m hoping that’s just because of mamp and it will be fine when goes on a server?
Anyways, using this plugin I get 500ms instead of 2s so it’s really great but,I’m guessing this could even be faster depending on where and how the cache is stored and retrieved.
Yet I don’t know even the cache is returned and how this plugin works.
What I do know however is that using SHORTINIT and without loading anything from WordPress like in the main file which runs on every request,it could check for url and params if was cached then return.
Using directly loading a php file without loading WordPress I get 20ms time load.
And not using rest_api_init hook and return on my plugin itself I can get to 200ms.
If it is saved in the database or a file using normal php and not loading all WordPress you still could get the results and return but dramatically faster.
- The topic ‘Make it even faster if possible’ is closed to new replies.