WordPress.org

Ready to get started?Download WordPress

Forums

If-modified-since header? (3 posts)

  1. nicokaiser
    Member
    Posted 9 years ago #

    I noticed that WordPress renders pages on every request, regardless whether they have changed or not.

    In wp-blog-header.php there are some "if-modified-since"-hooks for the feeds, and I wonder if it's possible to enable these hooks for all content to reduce server load and traffic.

    Is there any reason (apart from random-image and "posted x days ago"-functions) not to use if-modified-since for all generated content?

  2. Joshua Sigar
    Member
    Posted 9 years ago #

    That WP-Cache plugin thingie won't meet your need?

  3. nicokaiser
    Member
    Posted 9 years ago #

    I'll try this. However, why not let the client do the cache things if possible? Does WP-Cache do if-modified-since? If not, the traffic problem still isn't solved...

Topic Closed

This topic has been closed to new replies.

About this Topic