Latte standalone: is {cache} macro unavailable?

3 years ago

tpr
Member | 55
+
0
-

When trying to use the “cache” macro in Latte standalone, I get this error:

Exception: Unknown macro {cache}, did you mean {case}

Is it unsupoorted in standalone mode?

3 years ago

jiri.pudil
Member | 836
+
0
-

Yes, Latte doesn't have cache macro on its own. It is provided in a Latte bridge in nette/caching

3 years ago

tpr
Member | 55
+
0
-

Thanks, I'll go with the cache offered by the CMS I use.