in reply to Re: super slow
in thread super slow

So is anybody looking into this? Right now it's taking 20-30 seconds to load a page and I'm on a ~150 Mbps connection here. With those kind of delays, most people will already have clicked away assuming the site is down. Even if the site is no longer as active as it once was, it's still a massive knowledgebase, but if people are Googling Perl questions and encountering a site that's "apparently down", that's really not good for this site's reputation.

Replies are listed 'Best First'.
Re^3: super slow
by Anonymous Monk on Sep 11, 2024 at 14:45 UTC
    If it helps, the browser dev tools say the TLS handshake is taking about 30 seconds.
      Curl:
      $ curl --trace-time --verbose https://www.perlmonks.org 09:07:56.633950 * Trying 216.92.34.251:443... 09:08:12.101451 * Connected to www.perlmonks.org (216.92.34.251) port +443 (#0) 09:08:12.102175 * ALPN: offers h2,http/1.1 09:08:12.102535 * TLSv1.3 (OUT), TLS handshake, Client hello (1): 09:09:25.663887 * TLSv1.3 (IN), TLS handshake, Server hello (2):

      Wget:

      $ wget --timestamping --verbose --debug https://www.perlmonks.org 2>&1 + | perl -pe 'BEGIN{$|--} print scalar localtime, "\t";' Thu Sep 12 09:35:34 2024 DEBUG output created by Wget 1.20.3 on lin +ux-gnu. Thu Sep 12 09:35:34 2024 Thu Sep 12 09:35:34 2024 Reading HSTS entries from /home/choroba/.w +get-hsts Thu Sep 12 09:35:34 2024 URI encoding = ‘UTF-8’ Thu Sep 12 09:35:34 2024 asking libproxy about url 'https://www.per +lmonks.org/' Thu Sep 12 09:35:34 2024 libproxy suggest to use 'direct://' Thu Sep 12 09:35:34 2024 Converted file name 'index.html' (UTF-8) - +> 'index.html' (UTF-8) Thu Sep 12 09:35:34 2024 --2024-09-12 09:35:34-- https://www.perlm +onks.org/ Thu Sep 12 09:35:34 2024 Resolving www.perlmonks.org (www.perlmonks +.org)... 216.92.34.251, 66.39.54.27 Thu Sep 12 09:35:34 2024 Caching www.perlmonks.org => 216.92.34.251 + 66.39.54.27 Thu Sep 12 09:35:38 2024 Connecting to www.perlmonks.org (www.perlm +onks.org)|216.92.34.251|:443... connected. Thu Sep 12 09:35:38 2024 Created socket 3. Thu Sep 12 09:35:38 2024 Releasing 0x0000557cbd474670 (new refcount + 1). Thu Sep 12 09:35:38 2024 Initiating SSL handshake. Thu Sep 12 09:36:51 2024 Handshake successful; connected socket 3 t +o SSL handle 0x0000557cbd47f790

      In Firefox, increasing network.http.tls-handshake-timeout in about:config to 120 helped to make the site work, but each page takes about 2 minutes to load.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]