<appSettings>
<add key="ConfigFilePath" value="Config/StaticTactic.Config" />
</appSettings>
<httpHandlers>
<add path="*.aspx" verb="*" type="Hsq.Library.ToStaticPage.ProcessorHandler, ToStaticPage" />
</httpHandlers>
<StaticTacConfig>
<Rules Root="HTML" TimeSpan="10">
<TacRule LookFor="Default.aspx">
<TimeSpan>1</TimeSpan>
</TacRule>
<TacRule LookFor="Product/Sort.aspx">
<TimeSpan>10</TimeSpan>
</TacRule>
</Rules>
</StaticTacConfig>
Root:靜態頁輸出根目錄。TimeSpan:預設過期分鐘數。TacRule:單頁覆寫規則。*.aspx 請求。原始碼開放下載,適合快速導入靜態化機制。