Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3231006
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:59:39+00:00 2026-05-17T16:59:39+00:00

Thanks in advance for your help. I’ve been experimenting with YSlow and Google page

  • 0

Thanks in advance for your help.

I’ve been experimenting with YSlow and Google page speed, both provide very helpful advice and neither seems to have an advantage over the other but when it comes to Entity tags they seem to disagree or conflict in some way. The following code satisfies YSlows ‘Configure entity tags (ETags)’ pointer

Header unset ETag
FileETag None
<FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header unset Last-Modified
Header set Expires "Fri, 21 Dec 2050 00:00:00 GMT"
Header set Cache-Control "public, no-transform"
</FilesMatch>

However with this code in place Google Page Speed provides the following advice ‘specify a cache validator’. Another member Aularon suggests using this code to satisfy Google’s requirement

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault "access plus 1 year"
</IfModule>

Both work separately, but neither solution satisfies both validators, so my questions are.

  1. Should I care?
  2. Is there a good solution for both validators?
  3. Does either solution really have a major impact?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:59:39+00:00Added an answer on May 17, 2026 at 4:59 pm
    1. Yes
    2. As Yi Jiang pointed out, these are not validators. These are tools to help you evaluate the performance of your page. You need to consider their recommendations. However, setting something like the Expires Header doesn’t necessarily mean the user agent will honor that. Personally, I’ve seen the YSlow add-on in Firebug not list certain resources as having their Header set even though I have. The point is consider output from both tools, but I wouldn’t beat yourself up over trying to make both happy.
    3. Of course. Your first expires code set’s all graphical resources to not expire for the next 40 years. That would have a huge impact on download times for return visitors. As well as site maintenance – i.e. ensuring to invalidate the cache as the site changes. Your second rule caches everything for a year. That would have very serious impact on your site – e.g. caching all your resources, including html pages!
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Thanks in advance for your help. I'm new to JSON and I've been trying
Thanks in advance for your help. I have a need within an application to
Thanks in advance for your help experts. I want to be able to copy
Hi thanks in advance for your help. I'm just getting started learning Python and
First off, thanks in advance for your help. This issue is driving me nuts.
Thanks in advance for any help you can provide on this issue! I manage
Thanks in advance for your help. I am wondering how I might go about
and thanks in advance for your help or any tip that could get me
Thanks in advance for your help. I cannot move forward creating or editing fields
Thanks in advance for your help. I'm completely stumped on how I can do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.