Professional ASP.NET 1.1 [Electronic resources]

Alex Homeret

نسخه متنی -صفحه : 243/ 199
نمايش فراداده

l xmlns="http://www.w3.org/1999/l">

  • Use Output Caching

    The judicious use of output caching can provide a ten-fold performance increase, depending on whether or how much of a page can be cached and how many variations there are for different users. To enable output caching for a page, use the OutputCache directive:

    <%@ OutputCache Duration="#ofseconds"
    Location="Any | Client | Downstream | Server | None"
    VaryByControl="control-name" VaryByCustom="browser | custom-string"
    VaryByHeader="headers" VaryByParam="parameter-name" %>