3 ms·
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
by harry1989 4y ago
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.
- corentin88 4y agoWhat’s H2?
- jiggawatts 4y agoHTTP/2
- end_of_line 4y agoThere is a in memory database H2. Anyways, I have never used h2 as short form of http/2
- deleted 4y ago[deleted]
- harry1989 4y agoYes it is http2. H2 is technically http2 over SSL.