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

WordPress Trac noreply at wordpress.org
Mon Feb 3 14:10:42 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:
-----------------------------+----------------------

Comment (by siliconforks):

 Replying to [comment:2 johnbillion]:
 > 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.

 Well, @wuxu did mention in [comment:1 the first comment] that caching is
 not working even for non-logged-in users.  However, the date is different:
 "Thu, 19 Nov 1981 08:52:00 GMT".  That date is not used by WordPress, but
 it is used by PHP when calling `session_start()`.  Since core WordPress
 does not call `session_start()`, I would guess that there is a plugin (or
 theme) installed which is calling `session_start()`.

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


More information about the wp-trac mailing list