Print Page | Close Window

Content header in header.asp

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=1577
Printed Date: 22-April-2025 at 3:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Content header in header.asp
Posted By: inetbizo
Subject: Content header in header.asp
Date Posted: 29-April-2008 at 11:53am
I need to start directing what files to expire and how often, what to cache and what to gzip, deflate. I cannot find a good example on the web that directs by content type like I could in apache. Can someone post a link or show some code?

-------------
Current Project http://canvasusa.com - http://www.canvasusa.com



Replies:
Posted By: inetbizo
Date Posted: 05-May-2008 at 3:56pm

EarlyImpact? Care to take a stab at this? A lot of my code is not expiring and caching from the headerfooter. The css, js, gif and jpg files.



-------------
Current Project http://canvasusa.com - http://www.canvasusa.com


Posted By: Matt
Date Posted: 05-May-2008 at 11:10pm

Some pages, such as "viewcategories.asp",  use “no-cache”.

 

e.g.

 

Response.CacheControl = "no-cache"

 

I cannot help you dig into your implementation of gzip, but it’s possible some of the ASP code will conflict.  Try searching the words above in ProductCart and remove those lines before trying to implement your caching system. I hope that helps.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net