As an architect I try to avoid handling CORS at all. In production its best to put everything under the same domain using proxies (like apache or nginx), and in development enviroments I also use proxies (like redbird), so there are no OPTIONS requests anywhere, thus making the application slightly faster.
As an architect I try to avoid handling CORS at all. In production its best to put everything under the same domain using proxies (like apache or nginx), and in development enviroments I also use proxies (like redbird), so there are no OPTIONS requests anywhere, thus making the application slightly faster.
Oh that’s pretty cool! Thanks for your insight :)