harry1989
Re:Cache your CORS
on Tuesday September 20, 2022 @03:18PM (#32916511)
Yes it is http2. H2 is technically http2 over SSL.
Re:Cache your CORS
on Tuesday September 20, 2022 @01:20AM (#32907949)
Excellent suggestion.
These days chrome hides the preflight requests by default and you miss to notice the latency added for each of those CORS calls.
Also we don't deal with CORS unless it's an external plugin that we include in our site. Earlier we had subdomains like api..com, static..com to parallelize network requests which required CORS to be setup. With H2 we got rid of all of them and load everything from a single domain. This reduced the CORS surface area.