[wp-trac] [WordPress Trac] #2335: Last-Modified/ETag for individual posts

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 2 23:05:37 UTC 2010


#2335: Last-Modified/ETag for individual posts
--------------------------+-------------------------------------------------
  Reporter:  raster       |       Owner:  anonymous   
      Type:  enhancement  |      Status:  reopened    
  Priority:  normal       |   Component:  Optimization
   Version:               |    Severity:  normal      
Resolution:               |    Keywords:  dev-feedback
--------------------------+-------------------------------------------------
Changes (by dvanliere@…):

 * cc: dvanliere@… (added)
  * keywords:  => dev-feedback
  * status:  closed => reopened
  * resolution:  invalid =>
  * version:  2.0 =>


Comment:

 Hi,
 I would like to reopen the discussion on this topic. I think Wordpress has
 come a long way in 5 years and adding Last-Modified / Etag headers could
 help improve the performance of many servers and reduce bandwidth usage.
 The current send_headers (in classes.php) function has already quite
 extensive conditionals to determine whether content has (not) changed and
 it would be fairly easy to extend this to individual web pages as well.

 There are different solutions to address  the concern that a plugin might
 break the Last-Modified date:
 1) Make add etag / last modified header configurable, enable it by
 default, but if it breaks a particular plugin then you can turn it off.
 2) Loop over all installed plugins and include them in the conditionals to
 see whether content has changed
 3) Accept that in some cases the last-modified date is incorrect
 (obviously not ideal but still a possible solution).

 I hope we can discuss this issue in more detail!
 Best,
 Diederik

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/2335#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list