Open daily from 9:00 to 20:00Get in touch
NewWe collected answers to the questions people ask most oftenOpen the section →
🍪 Cookies and personal data

We use cookies to keep the site working and make it more convenient, and we process anonymised data about your visit. The details are in our privacy policy.

Cache: what to clear and when

31.08.2026 ~1 min read
Cache: what to clear and when

Some pages are assembled in advance and kept ready. That speeds the site up noticeably, and does just as much harm if the right key is not cleared: the edit is in the database while the visitor still sees the old version.

home_pages           pages on the home screen
menu.header          menu items
template_NAME_...    a block of materials

The rule: when you add a cache, list EVERY model whose change makes it wrong. A menu item is built from a page, so deleting a page has to clear the menu cache as well — otherwise the deleted page hangs in the menu for another hour.

Проверочный код

More lessons in this course

Discussion

0

Only signed-in visitors can comment. Sign in to write.

Nobody has spoken up yet. Be the first.

Still have questions?We reply within one business day — write to us whichever way suits you.
Contact us