Browse by Tags

Related Posts

  • Is there a way to Clear - - - - OutputCache ?

    Hello, I'm using the OutputCache <%@ OutputCache Duration="600" VaryByHeader="UserAgent" VaryByParam="none" %> I’m using the OutputCache on my review web site (http://sfsurvey.com)and I would like to dump the cache when a new review is posted. How can I programicaly tell it to dump the cache? Its...
    Posted to Getting Started (Forum) by waynelambright on 11-22-2006, 12:00 AM
    Filed under: Caching, OUTPUTCACHE
  • How to clear outputcache of an UserControl?

    Hi, I have been searching all over the net for a way to clear the contents of the outputcache declared on a usercontrol (so that it'll be regenerated even before the cache expires) but to no avail. Unfortunately Response.RemoveOutputCacheItem() does not work with usercontrols. I came across a very old...
    Posted to State Management (Forum) by ckng on 11-23-2006, 12:00 AM
    Filed under: Outputcache, User Control, Clear, ASP.NET
  • * HOW to the OutputCache

    Hello, I am trying to dump the cache on my home page. that when I pass a value w=1 but it's not working any ideas? <%@ Page Language="VB" Debug="true" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.SqlClient...
    Posted to State Management (Forum) by waynelambright on 11-23-2006, 12:00 AM
    Filed under: Caching, OUTPUTCACHE
  • Re: Is there a way to Clear - - - - OutputCache ?

    DarrellNorton: Use the HttpResponse.RemoveOutputCacheItem method. Hello Darren I tried that but it does not work. try the code yourself. <%@ Page Language="VB" Debug="true" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ OutputCache Duration="3600" Location="Server" VaryByParam...
    Posted to Getting Started (Forum) by waynelambright on 11-24-2006, 12:00 AM
    Filed under: Caching, OUTPUTCACHE
  • no postback with user control and OutputCache

    I have a user control shared in many pages on my web site. Because it is created from a complicated database query, I decided to enable fragment caching for it. <%@ OutputCache Duration="600" VaryByParam="None" Shared="True" %> This works fine rendering-wise. However, I also have a textbox and...
    Posted to Web Forms (Forum) by dan cavina on 12-18-2006, 12:00 AM
    Filed under: User Controls, PostBack, OutputCache, Fragment Caching
  • Output caching dynamic content, page title, meta...

    Couple questions- I have a UserControl that contains a ServerControl that fetches content from the datastore and populates the UC content, sets page title and meta info. I also "VaryByCustom" overriding the "GetVaryByCustomString" and return a timestamp string to get uncached content for users of "editor...
    Posted to State Management (Forum) by davelee on 03-17-2007, 12:00 AM
    Filed under: outputCache, dynamic content, title
  • Problem with OutputCache in a page inherit from master page using dropdownlist and usercontrol

    Hello: We are using asp.net 2.0 and we had created a content asp.net page that inherits from a master page. Inside this page there are a dropdownlist with autopostback and a user control. Everytime you select an item from the dropdownlist, we want to store in cache the page output per different dropdownlist...
    Posted to State Management (Forum) by dsapo7777 on 03-21-2007, 12:00 AM
    Filed under: ASP.NET cache, outputCache
  • Re: caching question

    The response.cache tells the browser to cache the page. It may or may not do that, based on the browser settings. The OutputCache, on the other hand, does something like this: (first request) page request -> .net runtime processes the page and writes out a temporary file -> serves the file (subsequent...
    Posted to State Management (Forum) by eraza on 03-26-2007, 12:00 AM
    Filed under: Cache, outputCache
  • DataCache as an OutputCache dependency?

    Is it possible to have your page OutputCache cleared based on your DataCache? For instance I cache my dataset, it's dependent on my products table - once that changes I reload the new dataset in cache. At this point i would then like to clear my OutputCache - no need to clear it until I have new data...
    Posted to State Management (Forum) by doorway27 on 03-31-2007, 12:00 AM
    Filed under: outputcache, datacache
  • Clear user control output cache from another page

    I have a CachedControl.ascx user control which uses output cache. Let this user control reside in a ASP.NET page called Container.aspx. I want to be able to clear the user control's output cache programmatically from another page called ClearCache.aspx. (for example when doing a data change in an administration...
    Posted to State Management (Forum) by alekhine_x9 on 04-04-2007, 12:00 AM
    Filed under: OutputCache
Page 1 of 3 (27 items) 1 2 3 Next >