Hey AEM friends, here is another tutorial. This time on how to avoid CORS errors (when using AJAX) by creating a servlet. Hope you enjoy and as always let me know if you have questions or feedback. Thanks for watching.
How to create a servlet to avoid CORS errors in AEM 6.3 - YouTube
Thank you for the great community content!
By creating servlet are we not allowing every request to be processed by the AEM Instance, which will put more load on the server?
I assume, in that case you are caching response at dispatcher. which should be fine.
Correct me, if my understanding is wrong on your question.
Not sure I understand your question Radha. The node server will process every request, unless the servlet is cached by dispatcher, as edubey mentioned.