b13 / menus

TYPO3 Extension for creating fast menus in a fast fashion
GNU General Public License v2.0
54 stars 21 forks source link

Clear Cache when pages are being updated #24

Closed moe2k closed 4 years ago

moe2k commented 4 years ago

We're using menus to render a tree menu from standard and custom pagetypes. Everything works fine, besides cache invalidation.

Entries in cache_pages and cache_hash are correctly created, however invalidation seems to be not working properly. To the issue seems to be in conjunction with cache_pages and cache_pagesection.

Example: I have three levels:

I warm up the cache for all pages. Then I disable Page 3A through the backend. Now when I open page 3B, page 3A still appears in the menu - but without the link being rendered. The same happens on page 2.

So it seems that when cache_pages / cache_pagesection entries are invalidated by TYPO3, the link disappears in some cases.

The expected behavior is that entry and link are always consistent.

TYPO3 9.5.16

clearCache_pageGrandParent = 0
clearCache_pageSiblingChildren = 0
moe2k commented 4 years ago

I'm not able to reproduce this consinstently. Will investigate further but leave this here in case anyone runs into the same problem.