Current time: 11-12-2019, 10:54 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
warnings for caching of static assets
04-10-2010, 08:02 AM (This post was last modified: 04-10-2010 08:08 AM by nybble.)
Post: #1
warnings for caching of static assets
Hello,

I'm wondering what the warning means in caching of static assets, all my files have a 2 day expires and I get a warning like this:

WARNING (2.0 days) - blah blah

What does that mean? What needs to happen to make that go away?

Thanks for any tips.
Oh, I see - you get a warning if it's set for less than 30 days.
Find all posts by this user
Quote this message in a reply
05-05-2010, 11:28 PM
Post: #2
RE: warnings for caching of static assets
(04-10-2010 08:02 AM)nybble Wrote:  Hello,

I'm wondering what the warning means in caching of static assets, all my files have a 2 day expires and I get a warning like this:

WARNING (2.0 days) - blah blah

What does that mean? What needs to happen to make that go away?

Thanks for any tips.
Oh, I see - you get a warning if it's set for less than 30 days.
Yes, see if you can have even more than 30 days, like 3 months, 1 year or unlimited.

http://www.sphinxconsultant.com/performance-scalability-services/
Visit this user's website Find all posts by this user
Quote this message in a reply
05-06-2010, 01:13 AM
Post: #3
RE: warnings for caching of static assets
Hey there,

(05-05-2010 11:28 PM)wasimasif Wrote:  Yes, see if you can have even more than 30 days, like 3 months, 1 year or unlimited.

I read in a lot of places setting the value greater than 1 year is a bad idea. For instance, a quick Google search landed me on this page:

http://wiki.sproutcore.com/Deployment-Introduction

"Some people try to set the cache header to 10-years instead of 1-year since 10-years is the maximum time. We do not recommend this. Some proxies on the internet are misconfigured and assume any cache header > 1-year must be a mistake and so they ignore it."

Sincerely,
Travis Walters
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)