English 中文(简体)
JS和CSS的规范URL,HTTP与HTTPS
原标题:Canonical URLs for JS and CSS, HTTP vs HTTPS

我正在使用IIS搜索引擎优化工具包扫描我的一个网站。它的一个缺点是,我的静态资产有多个规范的URL,例如。

这当然是正确的,同一个文件在安全页面上的链接方式不同。这种情况只发生在静态资源中,实际的HTML页面都有一个规范的URL。

我应该把这个当作一个忽略工具包,还是有更好的安排。我需要从各个角度考虑,例如。

  • Performance (browser caching, server load)
  • SEO (duplicate content penalties)
  • Usability (mixed content warnings)

谢谢你的帮助!

最佳回答

您需要决定是从您的分析工具包中接收此消息更好,还是让您的客户被告知并非页面上的所有项目都是安全的。

我知道我的选择是什么。。。

问题回答

暂无回答




相关问题
Session Management with Windows Authentication

In an ASP.NET web app, using Integrated Windows Authentication, is the session tied to the windows identity? In other words, if I login (using IWA) to the app, and the app stores some "stuff" in my ...

Using Elmah with Cassini

Does anyone know if I can use Elmah with Visual Studio build-in web server(aka Cassini)? I get it working easily on IIS, but using same configuration, it doesn t work with Cassini. When I requested ...

Setting hostname in IIS, include www?

I want to set the hostname for a website I m adding in IIS 7, however do I include the www in the hostname or not? because I want both www.mysite.com and mysite.com both to point to mysite on the ...

inetpub versus any other folder

I ve run websites out of inetpub, as well as from folders just residing on the C: drive. I wonder, are there any definitive advantages to running websites out of inetputwwwroot?

IIS 6.0 hangs when serving a web-service

I am having issues with one of our web-services. It works fine on my development machine (win XP) whether I host it as a separate application or using cassini from Visual studio. Once I deploy on the ...

热门标签