Current time: 12-07-2019, 01:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
F - Cached Static Content
09-29-2010, 09:38 AM
Post: #1
F - Cached Static Content
I'm getting an "F" for cached static content.
WARNING (1.0 hours)

How can I increase my grade?
Find all posts by this user
Quote this message in a reply
09-29-2010, 09:47 AM
Post: #2
RE: F - Cached Static Content
(09-29-2010 09:38 AM)jrockfl Wrote:  I'm getting an "F" for cached static content.
WARNING (1.0 hours)

How can I increase my grade?

Set your expires headers for > 30 days for static content. You need to understand the ramifications though and make sure your site is designed with long caching in mind (versioned resources in particular - you can never change a file without renaming it).
Visit this user's website Find all posts by this user
Quote this message in a reply
09-29-2010, 10:38 AM
Post: #3
RE: F - Cached Static Content
Thank you for the reply. I changed it to 31 days and now I have an "A".
My web site is an e-commerce web site so all of the static images will not change.

The product images are stored in the database as byte arrays and saved to disk in a different directory.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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