https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43337 Bug ID: 43337 Summary: Make error pages static Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: magnus@libriotech.no QA Contact: testopia@bugs.koha-community.org Target Milestone: --- This idea was mentioned in Bug 11581 back in 2014, but I think it deserves a separate bug now. We are battling all sorts of different bot-attacks, and some of these attacks result in *a lot* of 404 errors. When the 404 error page is generated there is a call to the database to find the admin email and the page is rendered from a template. When the number of error pages being generated is high enough, this can overload the server and make Koha non-responsive. It would be better if these error pages were static and could be served without querying the database and rendering the template. If we want to keep the admin email in the error pages we probably need to generate the pages initially, and maybe once a day from a cronjob or similar? See also - Bug 8460 - Improve error messages in OPAC with more information to be sent to the administrator - Bug 42065 - Add errors/404.pl to Apache bot challenge -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.