This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Vinyl
Vinyl

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

Vinyl
Vinyl

It's strange, but the problem disappeared. I don't do anything. CMS fixed himself? =)))

Vinyl
Vinyl

Forgot, i use SQLite.

philipptempel
philipptempel

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

Vinyl
Vinyl

philipptempel, thanks a lot!

DMeganoski
DMeganoski

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

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.