WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Wrong Last-Modified headers / Twitterfeed (5 posts)

  1. Bozz
    Member
    Posted 2 years ago #

    Apparently my server/wordpress install is not sending the apropriate Last-Modified headers and twitterfeed.com can't see that our blog is updated.

    This site is on bluehost using W3 Total Cache.

    Thanks for any insight or past experience with this!

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. bh_WP_fan
    Member
    Posted 2 years ago #

    Have you tried it with W3 Total Cache (and other plugins) disabled? If so, does that make a difference? You may want to try a different caching plugin temporarily too, such as Quick Cache or WP Super Cache.

  3. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    The last modified header is not controlled by W3TC, it sets headers like expires, etag, cache-control etc.

  4. veerbahadur
    Member
    Posted 2 years ago #

    I can see in PgCache.php, there is one code block which sets the Last-Modified header. Ideally it has to be the modified date of the post, page etc.

    Code Block:
    $headers = array_merge($headers, array(
    'Last-Modified' => w3_http_date($time),
    'Vary' => 'Cookie'
    ));

  5. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    What are your browser cache settings?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic