473,385 Members | 1,912 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,385 software developers and data experts.

Page output caching

Is there a setting in the web.config that will enable page-output caching
for an entire site? All the documentation I find on output caching deals at
the page or sub-page level. I saw a couple posts on Usenet that made
reference to a "web.config" setting, but didn't actually state what it was.

I have a lot of pages I want to cache and would like to set it once instead
of each page.

Thanks,

Tom
Nov 19 '05 #1
2 1331
DOn't think it's inhenrently doable in web.config, but you can
programmatically set the caching in a base class and store custom settings
in the web.config...

check out:
http://dotnetjunkies.com/WebLog/seic.../01/10594.aspx

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Tim Mavers" <we*****@hotmail.com> wrote in message
news:Ts********************@giganews.com...
Is there a setting in the web.config that will enable page-output caching
for an entire site? All the documentation I find on output caching deals at the page or sub-page level. I saw a couple posts on Usenet that made
reference to a "web.config" setting, but didn't actually state what it was.
I have a lot of pages I want to cache and would like to set it once instead of each page.

Thanks,

Tom

Nov 19 '05 #2
This feature is not there in asp.net 1.1, but this feature is included in
whidbey as outputcache profile.

For more details, refer this link
http://dotnetjunkies.com/WebLog/sara.../05/31065.aspx

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"Tim Mavers" <we*****@hotmail.com> wrote in message
news:Ts********************@giganews.com...
Is there a setting in the web.config that will enable page-output caching
for an entire site? All the documentation I find on output caching deals at the page or sub-page level. I saw a couple posts on Usenet that made
reference to a "web.config" setting, but didn't actually state what it was.
I have a lot of pages I want to cache and would like to set it once instead of each page.

Thanks,

Tom

Nov 19 '05 #3

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

Similar topics

4
by: Captain Chaos | last post by:
Is it Possible to Cache Pictures JPG/BMP on the Client Browser ? The other Elements of the Page should not being cached because they change. Is it possible to cache parts of a page on the...
10
by: Jon Maz | last post by:
Hi, My goal is to take the entire html/javascript stream spat out by .aspx pages and save them as simple strings in a database (for caching purposes). I'm not sure how I can get hold of this...
3
by: Janaka | last post by:
Hi All, I'm having a problem with Page Output caching on a page that contains a DataGrid. Basically the page pulls up some data for sales information from the DB. Some of this has to be...
7
by: moondaddy | last post by:
I have a products catalogue that I'm putting online and there will be between 20 to 50 different pages of products. Each page contains a datagrid of products for a given category. However, the...
3
by: moondaddy | last post by:
I have a site where I have only one page and lots of user controls. Rather than passing parameters into the page (mysite/default.aspx?MenuID=123), I pass in a url like this...
0
by: sri_san | last post by:
Hello, I am stuck with an issue and would appreciate if anyone can help me out with the same. I have a few aspx(input) pages where the user enters the selection criteria for generating reports in...
3
by: DC | last post by:
Hi, (ASP.Net 1.1) is it possible to (programmatically and globally) deactivate page fragment caching? We have only two scenarios, development stage where we want caching off and testing where we...
1
by: Ben Fidge | last post by:
What are best practices for page output caching on pages that are dynamically generated from database tables. Our site has left-hand navigation that is comprised of dynamically generated menus...
0
by: SharpSmith | last post by:
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"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.