rollbar / rollbar-php-wordpress

Official WordPress plugin from Rollbar, Inc.
https://rollbar.com/
GNU General Public License v2.0
15 stars 20 forks source link

Bogus expires HTTP header added by plugin to all responses #92

Open owen-c opened 4 years ago

owen-c commented 4 years ago

The rollbar plugin is adding an expires HTTP header to all responses from my Wordpress site. The value of the header is set way in the past either in 1981 or 1984. This is casing havoc with my caching setup.

I haven't been able to find the code responsible yet, but with a clean Wordpress site I can easily reproduce the behavior by enabling / disabling the plugin.

AlexeyDemidov commented 3 years ago

Looks like 'Expires' header is set by session_start() call in src/Settings.php