Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > output cache problem : when any user control registered on a page page not cached

Reply
Thread Tools

output cache problem : when any user control registered on a page page not cached

 
 
SharpSmith@gmail.com
Guest
Posts: n/a
 
      11-23-2006
hi all
i have a strange problem with caching

very simple cache test page with fallowing code is not cached at
all(browser/server whatever):


<%@ Register TagPrefix="uc1" TagName="NewHomePageModule"
Src="~/Home/Module/NewHomePageModule.ascx" %>
<%@ Page language="c#" %>
<%@ OutputCache Duration="60" VaryByParam="*" %>
<h1>test form</h1>
<h2><%=DateTime.Now%></h2>

but when you remove this line :
<%@ Register TagPrefix="uc1" TagName="NewHomePageModule"
Src="~/Home/Module/NewHomePageModule.ascx" %>

and i stay with :

<%@ Page language="c#" %>
<%@ OutputCache Duration="60" VaryByParam="*" %>
<h1>test form</h1>
<h2><%=DateTime.Now%></h2>



the caching starting to work correctly

the stranger thing is that happening only on production box
(IIS6/ASP.Net 1.1) and on dev box (IIS5/ASP.NET 1.1) code work properly
in both cases

i gave here example as simple as posssible, actually the whole caching
framework we developed is not working on production machine

please help anybody has an idea or direction to trouble-shoot this
Thanks much anyway for your attention
--------------------------------
From: Yevgeniy Kuznetsov

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM
my cached dataset just wont stay cached!! Craig G ASP .Net 0 03-07-2005 10:02 AM
How to force a reload of cached user control? Edward Chung ASP .Net 2 02-13-2005 09:56 AM
Bizarre double-invokation of many methods for a @Registered User Control Ezra Epstein ASP .Net Web Controls 3 09-23-2003 07:21 PM
User control and output cache Marcin ASP .Net Web Controls 1 07-29-2003 06:33 PM



Advertisments