Hi, I tried to contact the author on his cpan address, to no avail (invalid).
I use M::Plugin::ServerSession, works fine. What annoys me though is that is uses the hook "before_dispatch" in the "load" sub, which loads the current session from the SQL server. Since this hook is triggered before each request, whether it is a static or a dynamic file, the result is a sequence of repeated, identical and superfluous queries to the DB for each resources (css, js, img) the page loads. At least that applies when not using a HTTP server like nginx, Apache or so which ca be configured to offload static requests. So my question is: What would be the implications if I change the hook to "before_routes"? If I understand the docs right, at this hook the static_or_not routing decision is done, and now the Mojo router will be asked. Is there any situation where the user/session data would be required for static files? I think not, or am I missing something? TIA, Ekki -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
