Wrox Programmer Forums
ASP.NET 4.5 General Discussion For ASP.NET 4.5 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4.5 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 6th, 2015, 07:27 PM
Authorized User
Join Date: May 2013
Posts: 59
Thanks: 10
Thanked 0 Times in 0 Posts
Default leverage browsing caching

Hi I am using GTMetrix to optimize my website and i get the following recommendation:

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

http://www.example.com/App_Themes/Mo...mages/Logo.png (expiration not specified)
http://www.example.com/App_Themes/Mo...Monochrome.css (expiration not specified)
http://www.example.com/App_Themes/Mo...onochrome2.css (expiration not specified)
http://www.example.com/Scripts/jquery-2.1.1.min.js (expiration not specified)

How can I fix this issue! please advice.
i know a few things about expire headers but how do you incoporate them in the webconfig file?
Old June 6th, 2015, 11:01 PM
Authorized User
Join Date: May 2013
Posts: 59
Thanks: 10
Thanked 0 Times in 0 Posts

Actually i fixed somewhat the above issue with adding a static content in the webconfig file but the Yslow page asks me to add expires headers.
Can anyone explain to me please how to add expire headers for css files, js files and png pictures?
Please help!!!

Last edited by dksellou; June 7th, 2015 at 10:22 AM..

Similar Threads
Thread Thread Starter Forum Replies Last Post
browsing path garrisonian14 PHP How-To 1 June 6th, 2007 05:30 AM
Browsing for a file jroxit Other Programming Languages 1 January 23rd, 2006 01:29 PM
Browsing away from page mattastic Javascript How-To 1 February 8th, 2005 09:22 PM
BROWSEINFO for dialog for browsing folders Chantale Access VBA 2 November 4th, 2004 03:53 PM
Re: Browsing to Data Source dazzer General .NET 0 March 17th, 2004 08:59 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.