Skip to content

Hooks and rendering order #1642

Answered by elcamlost
elcamlost asked this question in Q&A
Discussion options

You must be logged in to vote

I added in request_post_hooks this sub

sub { sleep 10 }

and now every request renders at least 10 seconds. So, the answer is "get_request_post_hooks executed first and then answer will be rendered to client".

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elcamlost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant