m2-MSP_APIEnhancer
m2-MSP_APIEnhancer copied to clipboard
Is the project still maintained? Would it work on M2.4?
Hi, I found this project after searching for solutions to cache API endpoints requested via GET. I was wondering if the project has been abandoned or has it just not been updated in 3 years because it is still compatible with the latest Magento?
Regards, Luca
Please, anyone at all?
This has all the signs of being abandoned, no commits at all for 4 years. It was trying to solve quite a complex problem, and from what I've seen it didn't do it overly well when it was maintained, which was very briefly indeed. I'd focus on fast hosting to speed up the api, I'm not sure there are any other options.
Thanks @lingwooc for chipping in. I might experiment with CloudFlare or Nginx caching of specific routes to avoid unnecessarily wasting CPU due to the high number of requests. Another solution would be switching to the new Bulk API but I'm not the one consuming the API and I don't want to open that can of worms just yet.
@jaxtheking do you find some solution to cache API response?
@jaxtheking do you find some solution to cache API response?
Unfortunately I did not. However the latest M2 version seem to consume less resources through the API.
I guess you could use a webserver that features user-based caching (like nginx or maybe Cloudflare?!) and cache JSON calls via GET only if the response status is 2XX (user successfully login) for a short amount of time. But I never tried it and hopefully we'll move away from M2 soon.
@jaxtheking @alexvais @lingwooc why don't you just tweak and enable cacheable header somehow so the API can be cached with Varnish directly?
Did anyone find any good solutions?