Question

MODx placeholder for page generation time in Evolution was [^t^] and it was described on rtfm.modx page.

I just read whole page about Revo placeholders, search in rtfm and google for 'page generation time' and didn't find such placeholders.

I have tryed

q: [[^qt]] ([[^q]]) + php: [[^p]] = [[^t]]

(as described in one's blog) inside my #footer chunk and get no results.

Who knows how to get page generation time in MODx Revo? Is there still placeholder or I have to write my own snippet for this?

Was it helpful?

Solution

Although the syntax looks like Evo, the tags [^qt^], [^q^], [^p^] and [^t^] do work in Revolution.

However the way Revo works means that the Query Time and Request tags are often unreliable - http://forums.modx.com/index.php?topic=56800.0

Try out the Executioner wrapper snippet to check how long individual snippets take to execute.

OTHER TIPS

use this

Query Time: [^qt^]
Request: [^q^]
PHP Exec: [^p^]
Total time: [^t^]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top