AppHarbor 上的标头过期
有没有一种简单的方法可以将过期标头添加到来自 appharbor 站点的静态内容中?我有一堆图像、CSS 和 JavaScript 文件,它们没有设置过期时间,并且阻碍了我的 yslow。
Is there an easy way to add expires headers to static content coming from an appharbor site? I have a bunch of images, css and javascript files which have no expiry set and are holding me back on yslow.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以在 Web.config 中执行此操作:
You can do this in Web.config: