Difference? Response.AddHeader vs CacheControl |
Post Reply |
Author | |||
Brett
Groupie Joined: 22-April-2008 Location: Phoenix, AZ Status: Offline Points: 89 |
Post Options
Thanks(0)
Posted: 28-February-2014 at 11:57pm |
||
I'm trying to optimize our pages so they'll load faster. Chrome's "Audit" thing wants me to enable caching. I was able to do so one one page by changing:
However, just about every file in ProductCart has these lines at the top:
It seems like AddHeader "cache-control" and CacheControl "no-cache" are redundant. Is there any reason for them both being here? Do they do something different? If I want to enable caching, which one should I change / remove? Most importantly, will it screw anything up if I enable caching? Worst case scenario I can think of is we remove a product from the storefront or change the price, and a customer sees the old info. |
|||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |