在 IIS 7.5 上,我试图通过两个网站实现这一目标:
Default Web Site is bound to:
(blank host header port 80 - http)
(blank host header port 443 - https)
go.example.com
www71.example.com
the IP address of go.example.com
2nd web site "Beta" is bound to:
beta.example.com
(blank host header port 443 - https)
* using blank only because it doesn't seem to be possible to
bind https to a named host header
Run Code Online (Sandbox Code Playgroud)
并且两者都需要使用 SSL。但我有这些问题:
这是我设置它的方式: …
参考这篇 serverfault 博客文章:一些速度改进,其中讨论了如何从单独的无 cookie 域提供 stackexchange 的静态内容......
有人将如何在 IIS7.5 上为 ASP.NET MVC 站点执行此操作?
到目前为止的计划:
<clientCache cacheControlCustom="public" /> 在 web.config 中这个计划正确吗?
您如何使用 WebDeploy 将整个 Web 应用程序部署到一台服务器,然后仅将静态项目部署到另一台服务器?
我可以看到有一个类似的问题,但对于 apache:Creating a cookie-free domain to serve static content so it does not apply