Notice: We are now selling NEW Gelbooru Merch~! Domestic shipping is free on all orders! Do you have an artist tag on Gelbooru? Let us know so we can properly credit you!

Ticket Information - ID: #975

ID:Category:SeverityReproducibilityDate SubmittedUpdated By:
0000975Bug Reportingnormalalways06/23/19 04:48AM
Assigned to:geltas
View StatusPublic
Target Version:N/A
Summary:Post page is set to not cache
Description:The site sets individual post page expiry's to some expired value, for example* gets set to Expires:"Thu, 19 Nov 1981", Pragma: "no-cache", Cache-Control: "no-store, no-cache, must-revalidate", this makes it so that the browser never caches the page, this often means that the users end up with the pages reloading quite often, which I expect takes some amount of server CPU time, especially if you go back and forth pages often (I do). I believe this is caused by the way PHP initializes a session (the one that sets the PHPSESSID), this is the case for both logged in and not logged in users. This problem existed before, it went away for a while and as of some weeks ago if not longer, it has been back again.
Additional Info: