复制代码 代码如下:
<scriptrunat="server">
SharedFunctionGetCurrentDate(ByValcontextAsHttpContext)AsString
ReturnNow.ToString()
EndFunction
</script>
<asp:SubstitutionID="Substitution1"runat="server"MethodName="GetCurrentDate"/>
复制代码 代码如下:
<system.web>
<caching>
<outputCache>
<diskCacheEnabled="true"maxSizePerApp="2"/>
</outputCache>
</caching>
</system.web>
复制代码 代码如下:
<caching>
<outputCache>
<diskCacheenabled="true"maxSizePerApp="2"/>
</outputCache>
<outputCacheSettings>
<outputCacheProfiles>
<addname="CacheFor60Seconds"duration="60"/>
</outputCacheProfiles>
</outputCacheSettings>
<!--
<sqlCacheDependencyenabled="true"pollTime="1000">
<databases>
<addname="PubsDB"connectionStringName="pubsConnectionString"/>
</databases>
</sqlCacheDependency>
-->
</caching>
新闻热点
疑难解答
图片精选