I’m building a simple website using Caddy’s template functionality and was wondering if there is an undocumented variable that reveals the time it took to generate a page. This was quite common to print at the bottom of pages in the 90’s and 2000’s when PHP was all the rage
I’m using the latest version of Caddy on linux, but I guess my systems details are less relevant for this question?
There’s a few “system” placeholders available here:
But none of those give you the time at the start of the request. We could probably add something like that though. Then you could do the math in your template to calculate the difference from that to now.