我最近刚刚启动了我的博客,我认为 sIFR 导致初始页面加载停止,基本上导致内部 500 错误或超时。
该站点的 URL 是http://gothamblack.com/
对于我的一生,我无法确定发生了什么。我目前正在运行最新版本的 sIFR,将 parseSelector 替换为使用“$”来利用 jQuery。其他详细信息是:Expression Engine CMS、Mint 统计信息和修改后的 htaccess 以压缩文件(如果它发生冲突,这可能是另一个问题?但我不知道如何)。
我将 sIFR 替换调用重新定位到 global.js 文件以最小化文件请求,这在流中最后被调用。我的 JS 文件如下:
使用 parseSelector 修改 sifr min:http ://gothamblack.com/source/scripts/sifr.js 全局 javascript 文件:http ://gothamblack.com/source/scripts/global.js
修改后的 htaccess 文件有以下命令:
# Set Language and Character Set
AddDefaultCharset utf-8
AddLanguage en-gb .en
# Cache images and set default on everything else
ExpiresActive on
ExpiresDefault A259200
ExpiresByType image/gif A1209600
ExpiresByType image/png A1209600
ExpiresByType image/jpeg A1209600
# Set css and js so they can be gzipped
<IfModule mod_mime.c>
AddType application/x-httpd-php .css
AddType application/x-httpd-php .js
</IfModule>
# Expression Engine related
Options +FollowSymLinks
RewriteEngine On
# site routing
RewriteCond %{HTTP_HOST} ^www\.gothamblack\.com$ [NC]
RewriteRule ^(.*)$ http://gothamblack.com/$1 [L,R=301]
# Expression Engine related routing
RewriteCond $1 !^(enginecore|feeder|images|mint|source|themes|favicon\.ico|robots\.txt|index\.php) [NC]
RewriteRule ^(.*)$ /index.php/$1 [L]
如果有人对我可以做些什么来解决这个问题有任何想法,那将不胜感激。我尝试在页面加载时查看萤火虫,但我似乎无法确定当出现失速时它在旋转什么。
再次感谢您的帮助!