This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hi! October is greatest CMS! Thanks! =)
I have a problem with template rendering. When i save a template and view a site first time - all is ok. But if i reload a page, i can see old rendered template. I'm not sure that describes the problem is clear, because I do not know much English. See a video: http://arbx.ru/files/screen.mp4 [2.6 MB].
Last updated
October uses a caching system for the views. That is, actually October is using Twig which is using a caching system. This way, only the first request to a page takes longer as the cache has to be created. Subsequent requests are then served more quickly resulting in faster page builds and happier clients. What you have seen there was an auto-invalidated cache resulting in you seeing the updated page content. Before then you saw the old, cached version.
cache: clear
clears the application, twig and combiner cache directories. Example:
$ php artisan cache: clear
in your console
You can also do this within your application, if needed. It's
\Cache::clear()
October also caches some database records, this could be useful to some.
1-6 of 6