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

Best output cache practices?

Hi,
We have IIS 6.0 servers and we want to take advatage of the kernel-mode
caching feature by using output cache directive in certain pages.
As far as I understand, IIS saves for each (unique) request the appropriate
response...

When the page is first loaded, followed by GET request, there is one
response for all users.
But the problems starts when the user submits the form (POST) -
the response could not be a static cached page, because expiration of data
and different responses for different users.
So playing with the submit button caused problems...

Another thing is memory usage - there is only one GET request but many POST
requests...(Important?)

Is there anything else to consider when output caching?
How can you cache only the GET requests?

Thanks in advance,
Hadar.

Nov 19 '05 #1
2 1884
Hi Hadar:

Eon has some tips:
http://geekswithblogs.net/ewright/ar...10/24/241.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 21 Mar 2005 13:08:03 +0200, "Hadar" <cr****@bezeqint.net>
wrote:
Hi,
We have IIS 6.0 servers and we want to take advatage of the kernel-mode
caching feature by using output cache directive in certain pages.
As far as I understand, IIS saves for each (unique) request the appropriate
response...

When the page is first loaded, followed by GET request, there is one
response for all users.
But the problems starts when the user submits the form (POST) -
the response could not be a static cached page, because expiration of data
and different responses for different users.
So playing with the submit button caused problems...

Another thing is memory usage - there is only one GET request but many POST
requests...(Important?)

Is there anything else to consider when output caching?
How can you cache only the GET requests?

Thanks in advance,
Hadar.


Nov 19 '05 #2
Hi Scott,
Thanks you, it looks like it's working great!
Hadar

"Scott Allen" <sc***@nospam.odetocode.com> wrote in message
news:pd********************************@4ax.com...
Hi Hadar:

Eon has some tips:
http://geekswithblogs.net/ewright/ar...10/24/241.aspx

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Mon, 21 Mar 2005 13:08:03 +0200, "Hadar" <cr****@bezeqint.net>
wrote:
Hi,
We have IIS 6.0 servers and we want to take advatage of the kernel-mode
caching feature by using output cache directive in certain pages.
As far as I understand, IIS saves for each (unique) request the appropriateresponse...

When the page is first loaded, followed by GET request, there is one
response for all users.
But the problems starts when the user submits the form (POST) -
the response could not be a static cached page, because expiration of dataand different responses for different users.
So playing with the submit button caused problems...

Another thing is memory usage - there is only one GET request but many POSTrequests...(Important?)

Is there anything else to consider when output caching?
How can you cache only the GET requests?

Thanks in advance,
Hadar.

Nov 19 '05 #3

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

Similar topics

136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
2
by: Duncan Welch | last post by:
Good morning, I have a classic ASP app that I'm converting to .NET. In the existing app when accessing infrequntly changed data, it reads a database once a day, and saves the results in an...
2
by: dwight0 | last post by:
I have an ASP.net application where most pages have the same dropdown menu with a list of usernames to select from. The dropdown menu is filled from a cache as long as the cache hasnt expired and...
10
by: jojobar | last post by:
Hello, I am trying to use vs.net 2005 to migrate a project originally in vs.net 2003. I started with creation of a "web site", and then created folders for each component of the site. I read...
5
by: BK | last post by:
We've got a fairly large scale development process under way in .NET 2003. We are about a month away from go-live for phase 1, second phase is rather short and all work should be completed in the...
6
by: Ethan V | last post by:
I have a few options regarding populating the state combo box 1. On page load, get the 50 states from the database 2. On application start, get the 50 states from the database and cache them in...
0
by: SharpSmith | last post by:
hi i have a strange problem with OutPut cache working fine on development box and not working on production server background : @outputCahce directive is fine, but wanted to make centralized...
9
by: Yehia A.Salam | last post by:
Hello, I am building an ASP.net website that connects to an XML database, and was wondering which is the best way to create the connection if I need frequent access to the database, I have one...
9
by: alexandis | last post by:
I have a big database, a lot of tables, so I will have a lot of pages where i create a new record. There will be a lot of 'reference' items - let's say 'Create user' -> 'Select user type'...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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,...
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...

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.