页面上的URL https://www.topmazoretkypraha.com/fotogalerie.html无法在Chrome中正确加载。当我看着devtools安慰有5次的错误:“无法加载资源:净:: ERR_SPDY_PROTOCOL_ERROR”。
由于5个画廊的照片是5个缩略图不会出现在屏幕上。我能找到这些错误的背后是什么请求。这是对的“https://www.topmazoretkypraha.com/phpThumb/phpThumb.php?src=/fotogalerie/2018/Kromeriz/img00001.jpg&w=120&h=120&hash=fb0137670311c4ace04dce839d03701e”例如GET。
因为它是所有关于网站托管它可能很难调试。但我认为这是一个Nginx的和比Apache和PHP。该phpThumbnailer由Chrome浏览器从HTML源要求。什么应该是我的措施来解决这个问题呢?
我搜索谷歌,但我不是从聪明而困惑。所以我决定在这里问。
包括https://www.topmazoretkypraha.com/fotogalerie.html的线108-132
<div class="panelGaleries" align="justify">
<span class="orangetitle">Fotogalerie za rok 2018</span><br /><br />
<span class="bodytext">
<div style="position:relative;">
<a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Kromeriz" class="linkPhotos jquery" title="O poklad hanáckých Atén"><img src="/phpThumb/phpThumb.php?src=/fotogalerie/2018/Kromeriz/img00001.jpg&w=120&h=120&hash=fb0137670311c4ace04dce839d03701e" alt="O poklad hanáckých Atén" /></a><a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Kromeriz" class="galeriesLink jquery">O poklad hanáckých Atén</a>
</div>
<div style="clear:both;"> </div>
<div style="position:relative;">
<a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Chodov" class="linkPhotos jquery" title="Majorettes Chodov"><img src="/phpThumb/phpThumb.php?src=/fotogalerie/2018/Chodov/img00001.jpg&w=120&h=120&hash=58dadfc8c122ee14c51487e5987a43d0" alt="Majorettes Chodov" /></a><a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Chodov" class="galeriesLink jquery">Majorettes Chodov</a>
</div>
<div style="clear:both;"> </div>
<div style="position:relative;">
<a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Kolin" class="linkPhotos jquery" title="Kmochův Kolín"><img src="/phpThumb/phpThumb.php?src=/fotogalerie/2018/Kolin/img00001.jpg&w=120&h=120&hash=e540c90e1f1608608984fcaeb8a3093f" alt="Kmochův Kolín" /></a><a href="https://www.topmazoretkypraha.com/fotogalerie/2018/Kolin" class="galeriesLink jquery">Kmochův Kolín</a>
</div>
<div style="clear:both;"> </div>
<div style="position:relative;">
<a href="https://www.topmazoretkypraha.com/fotogalerie/2018/MS" class="linkPhotos jquery" title="IFMS - Mistrovství světa"><img src="/phpThumb/phpThumb.php?src=/fotogalerie/2018/MS/img00001.jpg&w=120&h=120&hash=8f9f4b9fcd7d06a760c5c068cd413363" alt="IFMS - Mistrovství světa" /></a><a href="https://www.topmazoretkypraha.com/fotogalerie/2018/MS" class="galeriesLink jquery">IFMS - Mistrovství světa</a>
</div>
<div style="clear:both;"> </div>
<div style="position:relative;">
<a href="https://www.topmazoretkypraha.com/fotogalerie/2018/wannado" class="linkPhotos jquery" title="Wannado festival"><img src="/phpThumb/phpThumb.php?src=/fotogalerie/2018/wannado/img00001.jpg&w=120&h=120&hash=ddae43d181ff7378fed770527a92714d" alt="Wannado festival" /></a><a href="https://www.topmazoretkypraha.com/fotogalerie/2018/wannado" class="galeriesLink jquery">Wannado festival</a>
</div>
<div style="clear:both;"> </div>
</span>
</div>
应该没有错误,当数据被加载,但仍有
问题是,虚拟主机增加HTTP头Content-Encoding: gzip
所有PHP内容即使Content-Type: image/jpeg
是从脚本的输出。该修补程序,我添加HTTP头Content-Encoding: none
到该脚本。和它的工作。但现在我要问的网络托管服务提供商如果Content-Type: image/jpeg
存在不加错了头。在HTTPS这是有道理的。