From: Tim Lavoie <tim@fr...> - 2004-10-16 15:59:41
I'm quite new to yaws, so I've been going through the examples, trying
out various bits and so on. One of the things I'd like to do is have
the page display the time taken to render it, along with whatever else
What I've been attempting is to create my pages as usual, but then
have a wrapper page that takes another page as a query parameter, and
include it via ssi or yssi. The tricky part seems to be getting both
the page content (easy, via yssi), as well as the string representing
the time taken. Can I get just the page text from a server-side
include, to use as part of the output of the wrapper page?
Alternatively, being able to get the time directly would be great, but
I figured that would be tougher since the various static and Erlang
blocks are pretty mush separate blocks of code. Any suggestions?
Get latest updates about Open Source Projects, Conferences and News.