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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T14:12:53+00:00 2026-05-13T14:12:53+00:00

What does the following HTTP 1.1 header mean? If-None-Match: * I understand it when

  • 0

What does the following HTTP 1.1 header mean?

If-None-Match: *

I understand it when using a strong or weak ETag or even a list of ETags, but I don’t understant it’s use when using star (*).

Edit: Would be nice to have some pseudocode (PHP code good also) that would show how/what to answer to “If-None-Match: *”.

  • 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-13T14:12:53+00:00Added an answer on May 13, 2026 at 2:12 pm

    The answer is: it depends.

    Suppose we have received

    If-None-Match: *
    If-Modified-Since: <yesterday date>
    

    And the page has been altered today.

    First, we take a look at the * which tells us: “Return 304 if the resource is there and condition (2) is met”. Fine, the resource exists, BUT condition (2) states: “Only return 304, if the date is later than current”. So this condition is not met, and the page will be delivered completely.

    If we hadn’t received If-Modified-Since, the response would have been 304.

    If the resource hadn’t existed upon request, we’d have returned the appropriate code (as if there was no If-None-Match).

    304 should only be returned in response for GET and HEAD requests, and all cache-related response headers have to be there. For all other types of request your server needs to be answering 412 (Precondition failed).

    I hope it helps 😉

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

Sidebar

Ask A Question

Stats

  • Questions 280k
  • Answers 280k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Does it run and produce the results you expect? There's… May 13, 2026 at 3:32 pm
  • Editorial Team
    Editorial Team added an answer array_values() returns all the values from the input array and… May 13, 2026 at 3:32 pm
  • Editorial Team
    Editorial Team added an answer If You're Creating a New DB on your other Server:… May 13, 2026 at 3:32 pm

Related Questions

According to the HTTP1.1 spec , an Accept header of the following Accept: text/plain;
I found the following code on here that I think does what I want,
I am trying to get a header that will work with Apache, IIS 6,
Before I begin, I would like to highlight the structure of what I am
I am trying to submit a form using Ajax.Updater and have the result of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.