2 ms·
If you're experiencing very slow (60 seconds) page loads on POST, this may be a Firefox bug [1] interacting with Google's TLS settings. If the pages are just ki
by toast0 5y ago
If you're experiencing very slow (60 seconds) page loads on POST, this may be a Firefox bug [1] interacting with Google's TLS settings. If the pages are just kind of sluggish, I dunno.
The really short version is go to about:config and disable security.tls.enable_0rtt_data; the pretty short version is if you need a new HTTP/2 connection to make a POST request, and the server supports TLS 1.3 Early Data (aka 0rtt), and Firefox negotiates Early Data, it won't send the POST until an inactivity timeout occurs on the TLS socket. In Firefox 94 (in release channel 2020-11-02), that timeout was about 60 seconds; looks like the same for Firefox 95 (in release channel as of 2020-12-07). Firefox 96 (currently available as Nightly, expected release 2021-01-10) had a shorter timeout of 4 seconds, but also has a bug fix as of 2021-11-26.
Of course, it's difficult to tell which client is which during the TLS handshake, so you can't really offer most clients TLS 1.3 Early Data and not to broken versions of Firefox; not that Chrome uses TLS 1.3 Early Data.
https://bugzilla.mozilla.org/show_bug.cgi?id=1740856 https://bugzilla.mozilla.org/show_bug.cgi?id=1740856