.NETGURU
OutputCache
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcache' list.


SimpleTin
-- Moved from [aspngfreeforall] to [aspngcache] by Marcie Jones <Click here to reveal e-mail address> --

I've noticed that statements like
<%@ OutputCache Duration="43200" VaryByParam="none" %>
Can have a very strange effect on the use of debugging.

When I was debugging a few web pages I knew I had added a debug line
setup to an area that contained the output cache command but those lines
were not even being scanned during the process. Using f11 did not even
get to those lines. Is there someplace that documents the effects of
using OuputCache on the debugging process? After I removed <%@
OutputCache Duration="43200" VaryByParam="none" %> I could debug lines
just great.

Simple.

Reply to this message...
 
    
Curtis Swartzentruber
Just because you are debugging doesn't mean that
the caching isn't happening. The code isn't executing
because the page is being pulled from the cache.
While you are still in development mode and need to
debug, it's probably a good idea to keep the cache
duration to something really short, like 10 seconds.

Curtis

[Original message clipped]

Reply to this message...
 
    
SimpleTin
So you're recommendation is to not really use OutputCache while
debugging?
I think that is a good idea. I can add that line to my pre post machine
before going to production. Would be a good way to determine if things
are working correctly. Also, what warning levels is the best to use for
debugging and then in the release version?

Thank you,

Simple.

-----Original Message-----
From: Curtis Swartzentruber [mailto:Click here to reveal e-mail address]
Sent: Wednesday, March 06, 2002 3:36 PM
To: aspngcache
Subject: [aspngcache] RE: OutputCache

Just because you are debugging doesn't mean that
the caching isn't happening. The code isn't executing
because the page is being pulled from the cache.
While you are still in development mode and need to
debug, it's probably a good idea to keep the cache
duration to something really short, like 10 seconds.

Curtis

[Original message clipped]

| [aspngcache] member Click here to reveal e-mail address = YOUR ID
| http://www.aspfriends.com/aspfriends/aspngcache.asp = JOIN/QUIT

Reply to this message...
 
 




ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
Ad


Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification