jQuery简单加载第一次调用花费了太多时间


jQuery simple load taking too much time for first call

My Simple jQuery的加载语句占用了太多时间(50秒以上)。不存在服务器端的问题,服务器的页面逻辑也很简单。我还尝试过$.ajax$$.get,甚至尝试过使用手动ajax调用(XMLHttpRequest)

以下是jQuery加载的示例。

$(function() {
    $('#frmPrd').live('submit', function(event) {
        event.preventDefault();
        mUrl = "page1.php";
        $.ajax({
            url: mUrl,
            type: 'POST',
            data: $("#frmPrd").serialize(),
            success: function() {
                //Logged Unix timestamp here which was 1448631101 (27 Nov 2015 13:31:41 GMT)
                $("#dvCart").load("page.php");
            },
            error: function() {
                alert('Error occurred.');
            }
        });
    });
});

然后在page.php中我记录了(页面的第一条语句)时间戳,该时间戳返回1448631153(2015年11月27日13:32:33 GMT),即与调用页面之前记录的时间戳相差52秒。这里可能有什么问题?这50多秒浪费在哪里了?还要注意,此延迟是针对第一个呼叫的,对于所有来电,延迟都是正常的。我的整个网站运行在https(TLS 1.2)上

这是与https服务器的初始握手,需要一些时间。