We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Volt cache file

Hi!

I'm trying tu use volt cache. All is perfect, compiled file content is ok, but the generated file cache always empty with only N; at the beginning of the file. I can't find the things i've made in the bad way!



34.6k
Accepted
answer

Could you please provide the code you're using to initalize the views cache, it seems you are not using the Output backend but the Data one.



8.2k

Exactly! Thanks a lot i was using Data instead of Output