m2-MSP_APIEnhancer icon indicating copy to clipboard operation
m2-MSP_APIEnhancer copied to clipboard

Is the project still maintained? Would it work on M2.4?

Open jaxtheking opened this issue 3 years ago • 7 comments

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

jaxtheking avatar Jul 19 '21 13:07 jaxtheking

Please, anyone at all?

jaxtheking avatar Aug 03 '21 12:08 jaxtheking

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.

lingwooc avatar Aug 03 '21 18:08 lingwooc

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 avatar Aug 05 '21 09:08 jaxtheking

@jaxtheking do you find some solution to cache API response?

alexvais avatar Jan 24 '22 14:01 alexvais

@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 avatar Mar 03 '22 20:03 jaxtheking

@jaxtheking @alexvais @lingwooc why don't you just tweak and enable cacheable header somehow so the API can be cached with Varnish directly?

onlinebizsoft avatar Mar 23 '23 04:03 onlinebizsoft

Did anyone find any good solutions?

vagyvin avatar May 03 '24 20:05 vagyvin