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 6072585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:10:35+00:00 2026-05-23T10:10:35+00:00

I wanted to cache static resources so I set an expires header for static

  • 0

I wanted to cache static resources so I set an expires header for static resources.

After setting the expires header, what I notice is:

  1. Firefox and IE do not send requests to nginx for static resources
  2. But all other browsers(Chrome, Safari, Opera) send a request to my nginx and nginx responds with 304 Not Modified

Are chrome, safari, opera caching my static resources? Is this normal behaviour? If not what should I do in addition so that static resources are cached by the other browsers?

  • 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-23T10:10:35+00:00Added an answer on May 23, 2026 at 10:10 am

    Take a careful look at the subsequent HTTP requests from chrome/safari/opera:

    It’s most likely a conditional GET.
    Also, the 304 Not Modified does not have a body.

    So these browser cache too, just don’t trust the content to stay the same before the expiration date.

    They are just sniffing the milk in the fridge more often 🙂

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

Sidebar

Related Questions

Can I Implement Caching in MVC, If so how? I wanted to implement Cache
I'm making an in webpage cache system. I wanted to make a simple page
I just wanted to know what's the equivalent query in PostgreSQL to MySQL's SET
I wanted to cache controller ajax <?php class Default_Bootstrap extends Zend_Application_Module_Bootstrap { public function
I wanted to access the thumb cache of vista and 7 to be used
I wanted to know whether malloc/new returns memory blocks from Cache or RAM. Thanks
I'm running a cronjob which needs to write data to a cache. I wanted
Wanted to know if the Accessor methods of Enterprise Library 5.0 cache the fields
I wanted to ask you what is the best approach to implement a cache
I wanted to try the Spring 3.1 Cache Abstraction, annotating some methods with @Cachable.

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.