[wp-trac] [WordPress Trac] #14348: If it's a HEAD request, stop after the head!

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 20 09:54:08 UTC 2012


#14348: If it's a HEAD request, stop after the head!
---------------------------------------------+------------------
 Reporter:  mitchoyoshitaka                  |       Owner:
     Type:  enhancement                      |      Status:  new
 Priority:  normal                           |   Milestone:  3.5
Component:  Performance                      |     Version:  3.0
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch 3.5-early 2nd-opinion  |
---------------------------------------------+------------------

Comment (by mbijon):

 I think a filter instead of an action will help caching plugins, but can't
 think of a specific use-case right now. Anyone have use cases? Otherwise
 @nacin's method is a bit more efficient.

 Attaching my previous patch without the constant...

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


More information about the wp-trac mailing list