在我将以下重写代码添加到我的网站后,我注意到服务器请求需要很长时间,(我的网站页面中没有任何页面 html 错误、js 错误或任何内容)
但我注意到在 Firefox 中“加载”一直在显示页面仍在请求,并且需要很长时间(1 分钟)才能停止它。
我认为这个重写代码造成了这个延迟......关于如何改进这个的任何想法?
# BEGIN Rewrite
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^career.com
RewriteRule (.*) http://www.career.com/$1 [R=301,L]
RewriteRule ^files/([^/]+)/seeker/cover/([^/]+)$ uploads/seeker/cover/$2 [QSA,L]
RewriteRule ^files/([^/]+)/seeker/cv/([^/]+)$ uploads/seeker/cv/$2 [QSA,L]
RewriteRule ^files/([^/]+)/account/([^/]+)$ uploads/account/$2 [QSA,L]
RewriteRule ^files/([^/]+)/employer/logo/([^/]+)$ uploads/employer/logo/$2 [QSA,L]
RewriteRule ^jobs/([^/]+)/?(.*)$ jobs.php?job_id=$1 [QSA,L]
RewriteRule ^industry/([^/]+)/?(.*)$ results.php?formID=industryBrowse&industry_id=$1 [QSA,L]
RewriteRule ^company/([^/]+)/?(.*)$ results.php?formID=employerBrowse&employer_id=$1 [QSA,L]
RewriteRule ^profile/employer/([^/]+)/?(.*)$ company.php?employer_id=$1 [QSA,L]
</IfModule>
# END Rewrite