IIS7, Classic ASP and Output Caching Question?

This is a discussion on IIS7, Classic ASP and Output Caching Question? within the Inetserver forums in Microsoft Tools category; Hi, I have a question in relation to IIS7 and the new output caching feature. We would like to use this feature to speed up our classic ASP application. Currently we do not pass querystrings between webpages because we use search enginge friendly pages i.e. http://www.mydomainname.com/article/...e-3434324.html This would effectively bounce to a 404 page which is configured as an asp page to get the response and redirect to the correct asp page using server.execute Parameters like the pageid, language, currency etc. are passed to the corresponding page using session variables. According to documentation I have read you can use Headers ...

Go Back   Application Development Forum > Microsoft Tools > Inetserver

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-03-2008, 09:31 PM
Stu
Guest
 
Default IIS7, Classic ASP and Output Caching Question?

Hi,

I have a question in relation to IIS7 and the new output caching feature.
We would like to use this feature to speed up our classic ASP application.
Currently we do not pass querystrings between webpages because we use search
enginge friendly pages
i.e.
http://www.mydomainname.com/article/...e-3434324.html
This would effectively bounce to a 404 page which is configured as an asp
page to get the response and redirect to the correct asp page using
server.execute
Parameters like the pageid, language, currency etc. are passed to the
corresponding page using session variables.

According to documentation I have read you can use Headers or Querystring to
determine the caching of a page in IIS7.
Because we don't use Querystrings then I wondered if this scenario is
possible using Headers.

a) Create a new module for IIS and place it at the top of the module list to
get the incoming request and tag a new request header to the request (called
say MyCache) and use the requested url as the value.
b) configure the output cache to use VaryByHeader in user mode and look for
MyCache

Would this type of thing be possible?
If so if there is no MyCache header does IIS just ignore it?
If not any idea of how I could achieve something without rewriting the
entire application?

Thanks,

S.

Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:46 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.