473,405 Members | 2,262 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

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

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

Nov 23 '06 #1
0 1074

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: Bill H | last post by:
I have a routine that displays 60 items (with thumbnails) per page. You can click any item and displays a new page with item details. When the user back pages it runs the query again to display all...
0
by: Martin | last post by:
Hi. I had a very frustrating afternoon and evening but I have got it all under control now so all of a sudden I am in a good mood. I want to share some insights on output caching with you lot. ...
1
by: Jon | last post by:
Hi, I have a page with 2 user controls, one of which is output cached for an hour the other isn't cached atall. I add a datagrid to the page which I want output cached for 10 minutes can I set...
2
by: Welman Jordan | last post by:
Hello, I met with a tough problem when making my pages. Please help. To make the problem short, i write down what i want here first, and then explain my situation in details. How can I...
8
by: Raed Sawalha | last post by:
Hi, I have a strange problem with a usercontrol on a page. The usercontrol dispalyes three categories (From a database) when the user clicks a category they see all the products in a shop for...
1
by: z. f. | last post by:
Hi, i'm writing a user control that lives inside a page, and i want to cache the output of the control. is it possible to cache the control's output using a property on the control. so that...
10
by: hughestroop | last post by:
I have updated my CSS and if you view the main page with the old css cached, it breaks the page. Is there any way to force viewers that have the old css cached to get the new css? Our viewers...
2
by: aptenodytesforsteri | last post by:
I have an ASP.NET 2.0 application I've localized to English, French, German, and Italian. I used resource (.resx) files. Most of the site is static content, easily 90% of it, so I thought...
2
by: moondaddy | last post by:
I had to repost this because I had to update and change my msdn alias. I will re-ask the question and clarify a few things that were not clear before. This code is all executed on my dev...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.