Hi my friends,
I want to start cache in view with some conditions (such as logged in user or not), but with no success!
1. {% if logged_in %}
2. {% cache "my-page" %}
3. {% endif %}
Error:
Syntax error, unexpected token ENDIF in /var/www/testvolt/app/views/index/vip.volt on line 3
Is it possible to use conditional view cache anymore?
Thanks.