Results 1 to 11 of 11
  1. #1
    ABW Ambassador Greg Rice's Avatar
    Join Date
    January 18th, 2005
    Location
    Ohio
    Posts
    4,889
    Is there a way to check what http headers are being returned by the web server? In particular, I'm trying to find out if my server is returning any If-Modified-Since HTTP header info.

    Also I thought I read somewhere that, using PHP, you could send page modified info in the header if the data in the database was changed/updated. Is anyone using this method? Any idea where I can find more info?
    Greg Rice Affiliate Program Management
    www.gocmc.com info(AT)gocmc.com | 330-259-1223

    Join us! - MiNeeds.com | DiscountCandleShop/CheeseSupply | Feng Shui Plaza

  2. #2
    Member
    Join Date
    January 18th, 2005
    Location
    UK
    Posts
    94
    A few links for you Xandman:

    Header checking and cacheability tools

    Cache control with php

    I considered If-Modified-Since with php about a year ago but my bandwidth usage isn't massive so the benefits didn't seem worth the effort.

    Riatsala

  3. #3
    ABW Ambassador cditty's Avatar
    Join Date
    January 18th, 2005
    Location
    Memphis TN
    Posts
    1,434
    If you use Firefox, there is a plugin that you can get called Live Headers. It tells you EVERYTHING you ever wanted to know about the http headers that are being sent. It is located in the Extensions section.

    Chris
    Recycled Talent - Architects of custom scripts and snippets, perfectly written to suit any need. We stay on top of the latest technology so you don't have to.
    Total Stupidity - Shining light on stupid things.

  4. #4
    Full Member jollygoodpirate's Avatar
    Join Date
    January 18th, 2005
    Location
    NC
    Posts
    227
    Download a copy of Mozilla Firefox
    http://mozilla.org/

    Then go to Tools>Options>Extensions>Get New Extension

    Find Live HTTP Headers... it will install automatically. This will allow you to see all HTTP headers of a session including server headers, redirects, cookies, GETs, POSTs

    Best solution I have found to see how I get bounced from one redirect to another...and what cookies are being sent back and forth.

    It will show exactly what you are are trying to view.

    EDIT: Ditty beat me to it...

  5. #5
    ABW Ambassador cditty's Avatar
    Join Date
    January 18th, 2005
    Location
    Memphis TN
    Posts
    1,434
    Yea, but you gave more detailed info than I did.

    Chris
    Recycled Talent - Architects of custom scripts and snippets, perfectly written to suit any need. We stay on top of the latest technology so you don't have to.
    Total Stupidity - Shining light on stupid things.

  6. #6
    Member
    Join Date
    January 18th, 2005
    Posts
    69
    Another option,

    If you have a linux box running, wget would show you. There a windows version of wget as well if memory servers me right.

    Breezing

  7. #7
    ABW Ambassador CrazyGuy's Avatar
    Join Date
    January 18th, 2005
    Posts
    1,463
    ... or use this:

    http://www.searchengineworld.com/cgi...ervercheck.cgi

    courtesy I think of Pete @ ABW a year or so ago. Has done me sterling service many times since.

  8. #8
    ABW Ambassador Greg Rice's Avatar
    Join Date
    January 18th, 2005
    Location
    Ohio
    Posts
    4,889
    Thanks so much for the help. Is this what Google is looking for when they check for If-Modified-Since?

    Last-Modified: Thu, 13 May 2004 02:18:27 GMT
    If so, would this tell them to crawl that page again if it changed since the last time they crawled it? And if the date is the same date they have, will they just ignore it?
    Greg Rice Affiliate Program Management
    www.gocmc.com info(AT)gocmc.com | 330-259-1223

    Join us! - MiNeeds.com | DiscountCandleShop/CheeseSupply | Feng Shui Plaza

  9. #9
    Comfortably Numb John Powell's Avatar
    Join Date
    October 17th, 2005
    Location
    Bayou Country, LA
    Posts
    3,432
    Cold Case File
    Thanks so much for the help. Is this what Google is looking for when they check for If-Modified-Since?

    Last-Modified: Thu, 13 May 2004 02:18:27 GMT
    If so, would this tell them to crawl that page again if it changed since the last time they crawled it? And if the date is the same date they have, will they just ignore it?
    I have been studying questions like this all day. I have pondered lots of header possibilities for my php sites and come away with a lot of puzzle pieces and no clear idea of what it takes to aid the search engines. I can do a lot with header() but am not sure what is really needed. I am hoping this old thread will surface some solutions. Google must have a guide on what they like somewhere.

  10. #10
    Comfortably Numb John Powell's Avatar
    Join Date
    October 17th, 2005
    Location
    Bayou Country, LA
    Posts
    3,432
    # Make sure your web server supports the If-Modified-Since HTTP header. This feature allows your web server to tell Google whether your content has changed since we last crawled your site. Supporting this feature saves you bandwidth and overhead.
    From: Google Support

  11. #11
    Moderator MichaelColey's Avatar
    Join Date
    January 18th, 2005
    Location
    Mansfield, TX
    Posts
    16,232
    If-Modified-Since is a little different than Last-Modified.

    With Last-Modified, you still send the page (unless they just request the header).

    With If-Modified-Since, if it hasn't been modified you just return a 304 (Not Modified) response instead of the whole page.

    See here:

    http://www.w3.org/Protocols/rfc2616/....html#sec14.25
    Michael Coley
    Amazing-Bargains.com
     Affiliate Tips | Merchant Best Practices | Affiliate Friendly? | Couponing | CPA Networks? | ABW Tips | Activating Affiliates
    "Education is the most powerful weapon which you can use to change the world." Nelson Mandela

  12. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Headers too large......
    By Anne in forum Google Affiliate Network - GAN
    Replies: 11
    Last Post: September 28th, 2007, 11:15 PM
  2. http header says: HTTP/1.1 302 Object moved
    By Roland in forum Midnight Cafe'
    Replies: 2
    Last Post: August 25th, 2005, 09:11 AM
  3. Headers/Footers
    By Trefoil in forum Cusimano.com Scripts
    Replies: 2
    Last Post: April 24th, 2004, 02:17 AM
  4. How to remove headers
    By dpam in forum Cusimano.com Scripts
    Replies: 2
    Last Post: September 12th, 2003, 09:37 PM
  5. Headers and Google
    By cazzie in forum Search Engine Optimization
    Replies: 1
    Last Post: August 29th, 2002, 10:46 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •