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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:50:03+00:00 2026-06-03T07:50:03+00:00

While studying the caching strategies adopted by various search engine websites and Stackoverflow itself,

  • 0

While studying the caching strategies adopted by various search engine websites and Stackoverflow itself, I can’t help but notice the subtle differences in the response headers:

Google Search

Cache-Control: private, max-age=0
Expires: -1

Yahoo Search

Cache-Control: private
Connection: Keep-Alive
Keep-Alive: timeout=60, max=100

Stackoverflow Search

Cache-Control: private

There must be some logical explanation behind the settings adopted. Can someone care to explain the differences so that everyone of us can learn and benefit?

  • 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-06-03T07:50:05+00:00Added an answer on June 3, 2026 at 7:50 am

    From RFC2616 HTTP/1.1 Header Field Definitions, 14.9.1 What is Cacheable:

    private
       Indicates that all or part of the response message is intended for a single
       user and MUST NOT be cached by a shared cache. This allows an origin server
       to state that the specified parts of the response are intended for only one
       user and are not a valid response for requests by other users. A private
       (non-shared) cache MAY cache the response.
    

    max-age=0 means that it may be cached up to 0 seconds. The value zero would mean that no caching should be performed.

    Expires=-1 should be ignored when there’s a max-age present, and -1 is an invalid date and should be parsed as a value in the past (meaning already expired).

    From RFC2616 HTTP/1.1 Header Field Definitions, 14.21 Expires:

    Note: if a response includes a Cache-Control field with the max-age directive
          (see section 14.9.3), that directive overrides the Expires field
    
    HTTP/1.1 clients and caches MUST treat other invalid date formats, especially
    including the value "0", as in the past (i.e., "already expired").
    

    The Connection: Keep-Alive and Keep-Alive: timeout=60, max=100 configures settings for persistent connections. All connections using HTTP/1.1 are persistent unless otherwise specified, but these headers change the actual timeout values instead of using the browsers default (which varies greatly).

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

Sidebar

Related Questions

I just saw this code while studying the wordpress source code (PHP), You can
While studying for the 70-433 exam I noticed you can create a covering index
I've bean studying JMX for a while, but I'm stuck. I have an application
while studying some security things, there was a question that one can guess the
Please help, it's my studying project. It work locally but not online: Hello, it
While studying about JMX, I have seen one of the important feature of it
While studying for the Zend PHP Exam I came across the following contradicting information:
I was trying to use the function glMultiDrawElements while studying OpenGL (using red book)
While using regex to help solve a problem in the Python Challenge , I
While studying Java tutorials, Reflection and Late Binding have confused me. In some tutorials,

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.