homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Leverage browser caching advice please?

5+ Year Member

Msg#: 4318000 posted 3:56 pm on May 26, 2011 (gmt 0)


Can anyone offer advice?

Checking my Google page Speed loading time - I get the following mesage under the Leverage Browser Caching:

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

It then shows a list of 11 images that have "(expiration not specified)"

Is this something that I can do within the html for ALL images on that page? (or do I have to add someing for each specific image - which woud be very time consuming) What is the meta description tag for this? Is it possible to set the date to be always in one week's time? or to refresh in one week? Most of these images will not change for months.

I understand that my hosting server has a caching time of 20 minutes set on it. I don't know if that is good or bad?

Any advice please?

Thanks in advance



WebmasterWorld Senior Member tedster us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4318000 posted 6:10 pm on May 26, 2011 (gmt 0)

There are these tools at your disposal: expires header and cache-control, or Last Modified and ETag.

Neither of these are HTML - they are HTTP 1.1 features controlled by the server. Here's a start for exploring this vast country: Leveraging Browser Caching [code.google.com]

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved