[EVENTS] Add event before and after prerender call to help local caching (#12)