[Bug 41154] New: Make Apache ErrorDocument a bit smarter (no unconditional pass to Plack)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41154 Bug ID: 41154 Summary: Make Apache ErrorDocument a bit smarter (no unconditional pass to Plack) Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Architecture, internals, and plumbing Assignee: koha-bugs@lists.koha-community.org Reporter: m.de.rooy@rijksmuseum.nl QA Contact: testopia@bugs.koha-community.org See discussion on bug 40954. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41154 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41154 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=40954 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41154 --- Comment #1 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Copying from the other report: (In reply to David Cook from comment #5)
(In reply to Marcel de Rooy from comment #3)
Also I am wondering if we should pass such Apache errors to Plack? It takes just a few hundred bytes to say Not found in about 50 ms with a trivial ErrorDocument but it takes 40K and 500ms to go to errors/404 or 500.pl in Plack. Shouldnt we reserve the Plack responses for Plack requests (so real perl ones)?
I do think about that sometimes. It also takes up valuable Starman process time in general. If you've got some bots sending lots of requests that generate 404s, it doesn't really make sense to hammer your Starman with requests for 404.pl.
In the past, I've thought about generating static HTML files which could be served from the DocumentRoot, so that Starman isn't being touched and Apache can just do what it does best.
-- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org