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?

Était-ce utile?

La 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.

Autres conseils

use this

Query Time: [^qt^]
Request: [^q^]
PHP Exec: [^p^]
Total time: [^t^]
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top