Question Part A ▉ (100 bountys, awarded)
Main question was how to make this site, load faster. First we needed to read these waterfalls. Thanks all for your suggestions on the waterfall readout analysis. Evident from the various waterfall graphs shown here is the main bottleneck: the PHP-generated thumbnails. The protocol-less jquery loading from CDN advised by David got my bounty, albeit making my site only 3% faster overall, and while not answering the site's main bottleneck. Time for for clarification of my question, and, another bounty:

Question Part B ▉ (100 bountys, awarded)
The new focus was now to solve the problem that the 6 jpg images had, which are causing the most of the loading-delay. These 6 images are PHP-generated thumbnails, tiny and only 3~5 kb, but loading relatively very slowly. Notice the "time to first byte" on the various graphs. The problem remained unsolved, but a bounty went to James, who fixed the header error that RedBot underlined: "An If-Modified-Since conditional request returned the full content unchanged.".

Question Part C ▉ (my last bounty: 250 points)
Unfortunately, after even REdbot.org header error was fixed, the delay caused by the PHP-generated images remained untouched. What on earth are these tiny puny 3~5Kb thumbnails thinking? All that header information can send a rocket to moon and back. Any suggestions on this bottleneck is much appreciated and treated as possible answer, since I am stuck at this bottleneckish problem for already seven months now.

[我网站上的一些背景信息:CSS在顶部.JS在底部(Jquery、Jquery UI、购买的菜单awm/menu.JS引擎、标签JS引擎、视频swfobject.JS).第二张图片上的黑线显示了启动加载的内容.愤怒的机器人是我的宠物"ZAM".他无害,通常更快乐.]


Load Waterfall: Chronological | http://webpagetest.org enter image description here


Parallel Domains Grouped | http://webpagetest.org enter image description here


Site-Perf Waterfall | http://site-perf.com enter image description here


Pingdom Tools Waterfall | http://tools.pingdom.com

enter image description here


GTmetrix Waterfall | http://gtmetrix.com

enter image description here


推荐答案

首先,使用这些多个域需要多次DNS查找.你最好是combining many of those images into a sprite美元,而不是分散请求.

其次,当我加载你的页面时,我看到所有页面上的大部分阻塞(~1.25秒).js.我知道这是从jQuery(一个旧版本)开始的.你应该从谷歌CDN中引用它,不仅是decrease load time,而是整个potentially avoid an HTTP request for it.

具体来说,最新的jQuery和jQuery UI库可以在这些URL中引用(如果您有兴趣,请参阅this post,我为什么省略了http:):

//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js

//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js

如果您使用的是一个默认的jQuery UI主题,那么还可以使用pull its CSS and images off the Google CDN个.

优化了jQuery托管后,还应该将awmlib2.jstooltiplib.js合并到一个文件中.

如果你解决了这些问题,你应该会看到显著的改善.

Php相关问答推荐

基于验证动态更改输入字段类(名称密码)&

PHP -多维数组到一维数组

使用HPOS过滤WooCommerce中的订单列表

Laravel自定义验证规则更正

将购物车按钮重定向到Checkout-Wooccommerce

PHP Match如何准确判断条件?

HTTPPost请求在从php脚本调用时返回404,但在从node.js脚本调用时有效.终结点有效

如何从phpseclib和SFTP获取日志(log)记录?

既然setSQLLogger()已被弃用,如何使用中间件在 Doctrine 3 中记录查询执行时间?

将可编辑的计费自定义字段添加到 WooCommerce 管理单个订单

单个产品页面 WooCommerce 订阅价格字符串的更改

如何在 PHP laravel 中将图像的透明背景转换为白色?

WooCommerce 按产品运输插件:仅收取较高的运输费用

MongoDB Laravel Jenssegers 包:插入数据库时​​未定义的类常量PRIMARY

在特征中使用类的属性

如何设置Mailersend PHP API 模板变量?

Laravel auth()->id() 在生产服务器中不工作

PHP preg_replace括号和方括号内的所有逗号

Laravel 响应 html 默认页面忽略控制器

一个php应用程序可以实例化多个RNG吗