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

S

SharpSmith

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top