Re: Overhead in 404 handling

2023-09-09 Thread Carsten Ziegeler
Why do we need special casing outside of the error handler. Couldn't the error handler do the same? Regards Carsten On 08.09.2023 18:13, Jörg Hoh wrote: Hi, The handling of 404s in Sling can be quite resource-intense, especially if a custom error handler is provided, which renders a

Re: Overhead in 404 handling

2023-09-08 Thread Eric Norman
Hi Jörg, I'm curious if your overload use case would be primarily for requests sent by anonymous users? I have been handling anonymous "sling/nonexisting" resources by using a custom filter to force a redirect to the login page instead of sending back a 404. In other words, the anonymous user

Overhead in 404 handling

2023-09-08 Thread Jörg Hoh
Hi, The handling of 404s in Sling can be quite resource-intense, especially if a custom error handler is provided, which renders a full-blown page. This can lead to the situation, that the 404 handling is as complex and resource-intense as handling a normal resource. This comes with these 2