Results 1 to 7 of 7

Thread: How to improve performance in ASP.NET by page cache

  1. #1
    Join Date
    Feb 2010
    Posts
    589

    How to improve performance in ASP.NET by page cache

    Hi all,

    The best and fastest way to improve performance through caching to improve, of course, for any web developer should use the cache.Asp.netCaching mechanism under the very strong, with good caching mechanism allows us to greatly improve the performance of web applications, I want to know page cache in ASP.NET. Share some knowledge and experience. Thanks in advance.

  2. #2
    Join Date
    May 2008
    Posts
    2,012

    How to improve performance in ASP.NET by page cache

    Cache Profile in ASP.NET is used to define cache settings associated with the page name. It is an optional attribute, the default value is null character ("")。 Important to note that, included in the user control of the @ OutputCache directive does not support this property. Specify this attribute in the page, the attribute value must be configured with the Web.config file <outputCacheSettings> under section outputCacheProfiles element match the name of one of the available items. If this name does not match the configuration file entry, an exception is thrown. Check ans reply.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: How to improve performance in ASP.NET by page cache

    You can also use NoStore method. This property defines a Boolean value used to decide whether to block the secondary storage of sensitive information. Important to note that, included in the user control of the @ OutputCache directive does not support this property. This property is set to true is equivalent to execute code during the request "Response.Cache.SetNoStore ();". Best of luck.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    How to improve performance in ASP.NET by page cache

    Use the Duration method, The page or user control used to set the cache time by units of seconds. By setting the property to the HTTP response from the object the establishment of a expiration policy, and will automatically cache a page or user control output. Note that, Duration attribute is required, otherwise it will cause parser errors. All the best.

  5. #5
    Join Date
    Oct 2005
    Posts
    2,393

    How to improve performance in ASP.NET by page cache

    You can also use Location property. It is used to specify the output location of the cache entry. Its property values are OutputCacheLocation enumeration values, they are Any, Client, Downstream, None, Server, and ServerAndClient. The default value is Any, said output buffer can be used for all requests, including the client browser, proxy server, or processing the request on the server. Important to note that, included in the user control of the @ OutputCache directive does not support this property. Check and reply.

  6. #6
    Join Date
    May 2008
    Posts
    2,389

    How to improve performance in ASP.NET by page cache

    VaryByCustom is used for custom output caching requirements of any text. If the given value of the property browser, the cache with the browser name and major version information vary. If you enter a custom string, you must in the application's Global.asax file rewrite HttpApplication. GetVaryByCustomString method. Cheers.

  7. #7
    Join Date
    Mar 2010
    Posts
    1

    Re: How to improve performance in ASP.NET by page cache

    I just want to point out here the disadvantages of ASP.NET cache here so that developers may be aware of the potential issues they may face. Issues with ASP.NET cache include:

    1- Data Integrity Problems in Web Gardens /Web farms.

    2- Cache size limitations

    3- Single point of failure

    4- Scalability problems

    5- etc

    An alternative to ASP.NET cache is a third-party distributed cache solution. I have personally used a free edition of NCache, called NCache Express. This application lets you store ASP.NET Sessions in cache without requiring you to change any code.

    It is easy to setup and has no limitations that are in ASP.NET cache.

Similar Threads

  1. Why bin-hopping algorithm could improve cache performance
    By TanakL in forum Software Development
    Replies: 8
    Last Post: 26-09-2010, 12:08 AM
  2. How to improve the performance of ADO
    By Muwafaq in forum Software Development
    Replies: 5
    Last Post: 06-03-2010, 05:29 AM
  3. Replies: 0
    Last Post: 16-12-2008, 07:53 PM
  4. Reload web page without clearing cache in firefox
    By PsYcHo 1 in forum Tips & Tweaks
    Replies: 1
    Last Post: 27-11-2008, 05:13 PM
  5. How to improve performance of my PC
    By Seraphim in forum Motherboard Processor & RAM
    Replies: 2
    Last Post: 16-08-2008, 07:29 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,726,830,955.13832 seconds with 17 queries