【发布时间】:2011-07-18 08:09:05
【问题描述】:
我们在网站上使用了一些非基本字体,但问题在于重新加载 - 您可以看到基本字体,然后在每个页面上重新加载到我们的字体。它可能缓存它或以某种方式将其保存到客户端?在每个页面上重新加载都很糟糕。
我们正在使用 Windows 托管和 ASP.NET。
我找到了:
<system.webServer>
<staticContent>
<clientCache cacheControlMode="UseMaxAge" />
</staticContent>
</system.webServer>
一切正常。
【问题讨论】:
-
看起来你遇到了和这里一样的问题:stackoverflow.com/questions/1036309/…
标签: asp.net html caching client-side custom-font