Cache your CORS, for performance & profit

CORS is a necessity for many APIs, but basic configurations can create a huge number of extra requests, slowing down every browser APIā€¦