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

  • SEARCH
  • Home
  • 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 117329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T03:19:08+00:00 2026-05-11T03:19:08+00:00

trying to add an ExpiresDefault ExpiresByType to content on my website so that way

  • 0

trying to add an ExpiresDefault ExpiresByType to content on my website so that way it is cached. I use cachebusting in the URL (a revision number in the path) for Javascript, CSS, and images so that way I can set it to forever for these mimetypes. I have the following rules set up in apache httpd:

  ExpiresActive On   ExpiresDefault 'access plus 1 minutes'   ExpiresByType image/gif 'access plus 10 years'   ExpiresByType image/png 'access plus 10 years'   ExpiresByType image/jpeg 'access plus 10 years'   ExpiresByType image/jpg 'access plus 10 years'   ExpiresByType text/javascript 'access plus 10 years'   ExpiresByType text/css 'access plus 10 years' 

Then when I go to my website http://karmerd.com and use httplive headers to look at the headers I get what I think should be the correct Expires for css: Expires: Sun, 03 Feb 2019 17:52:48 GMT

But I use Yahoo’s Yslow firebug extension and it’s still giving me an F for not using Expires! Am I doing something wrong? I’m also using gravatars on my site, but they have Expires set. Seems like everything has an expires. Is it Yslow or me?

  • 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. 2026-05-11T03:19:09+00:00Added an answer on May 11, 2026 at 3:19 am

    Your javascript files are being sent out as application/x-javascript, so aren’t getting a far-future Expires header.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to add email notification to my app in the cleanest way possible. When
I am trying add two columns in a text file that are seperated by
Im trying to add a number to the classes hand . Each one of
Trying to add django-registration to my app. I have installed setup tools to use
Trying to add dynamic borders on my website top, left, and right sides... The
I'm trying add a directory of jar files (or barring that, each jar file
Trying to add a border to the thumbnail video that's playing in the iframe.
I'm trying add a tab to my web page that looks like this: Using
I'm trying add some implicit rules in CMake that will generate direct dependencies (like
Trying to add a view that combines data from two tables with a right

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.