wp_print_scripts hook but as it
prints scripts in document head i have doubt that i am not getting the time after full page load. i am not getting the correct time as body and footer content is yet to be executed/loaded.So i think i am getting the time it takes to load the head not the whole page.I can not use
shutdown hooks because my page is cached.So how can i run my code to get the time after full page load without clearing/flushing the cache?
Here is my code: