I have the following code:
#!/usr/bin/perl
use strict;
use warnings;
use LWP::UserAgent;
my $ua = LWP::UserAgent->new;
my $response = $ua->get('https://olms.dol-esa.gov/query/getYearlyData.do');
print $response->decoded_content;
The code takes upwards of two minutes to print out the results. Other web pages print out within a second or two. I'm curious to know why this page takes so long to load. How can I figure out what the problem is?