[wp-trac] [WordPress Trac] #62898: header - 'Expires' => 'Wed, 11 Jan 1984 05:00:00 GMT',

WordPress Trac noreply at wordpress.org
Mon Feb 3 13:29:41 UTC 2025


#62898: header - 'Expires'       => 'Wed, 11 Jan 1984 05:00:00 GMT',
-----------------------------+----------------------
 Reporter:  wuxu             |       Owner:  (none)
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  General          |     Version:  6.7.1
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:
-----------------------------+----------------------
Changes (by johnbillion):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the report @wuxu . These headers are used to prevent your
 browser from caching the response, presumably in this case because you are
 logged in to WordPress and therefore caching isn't desirable.

 If you log out, or if you view your site in an incognito browser window or
 from another device, those headers won't be present and caching will work
 as expected.

 Hope this helps!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62898#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list