Turn on site cache in System > Global Configuration > System > Cache Setting
Make new menu item (any type)
Change Access to Registered
Go to front end log in
Menu item with special access should show / disappear instantly depending on log in status
Menu item does not show until cache is cleared or reset.
When logged in the menu item stays visible after log out - until cache is cleared
J 3.6rc2
PHP 5.4.45
MySQLi 5.5.48-37.8
Caching Enabled
Gzip Disabled
Conservative Caching
Browsers Chrome Version 51.0.2704.103 (64-bit) Mac and Firefox 47.0.1 Mac
Also tried Progressive Caching
Tested and it only happens when System - Page Cache plugin is enabled
also looked at the code, the model will clear the caching group: 'mod_menu'
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_menus/models/item.php#L1454
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_menus/models/item.php#L1664
and the module helper uses the same caching group: 'mod_menu'
https://github.com/joomla/joomla-cms/blob/staging/modules/mod_menu/helper.php#L41
Furthermore you need to have done this to see the effect:
@Basstrup
can you check if you have enabled plugin:
System - Page Cache
also i assume you are using Joomla menu module and not some 3rd party
AFAIR nothing in core clears the page cache except for explicitly going to
the cache manager and flushing the cache. So as long as the module cache
is properly set and cleared with changes in the menu manager, I'd call this
expected behavior.
The page cache uses a special group to be able to cache full page and
return results quickly versus how the core cache works with only small data
segments and still runs the full page request.
On Thursday, July 7, 2016, Georgios Papadakis notifications@github.com
wrote:
Tested and it only happens when System - Page Cache plugin is enabled
- it works when only using conservative / progressive caching
also looked at the code, the model will clear the caching group: 'mod_menu'
and the module helper uses the same caching group: 'mod_menu'
https://github.com/joomla/joomla-cms/blob/staging/modules/mod_menu/helper.php#L41
Furthermore you need to have done this to see the effect:
- page cache plugin is enabled
- view the page with menu module
- change the menu item access registered
- view the page with menu module again , and login / logout
@Basstrup https://github.com/Basstrup
can you check if you have enabled plugin:
System - Page Cache—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#11049 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAWfoYqEa7hDmeKDJKovofgcUrtWX_EMks5qTZ-ogaJpZM4JHiR0
.
here's what I see https://youtu.be/m19mdkmw7B4
Yes, that is the intended purpose of plugin
System - Page Cache
It will postpone changes from appearing in the frontend until
thus works as intended
Furthermore in order to do what you need
Only enable Conservative or Progressive caching without the plugin: System - Page Cache
Conservative or Progressive caching
I would say that the only bad thing in all this is the description of the plugin
no wonder i see sometimes people confusing it with conservative / progressive caching, lucky thing is that most users do not know it is there, thus they confuse it less with conservative / progressive and they enabled it less times
The plugin should have a description instead of having almost none
Category | Accessibility | ⇒ | Cache |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-08 10:24:30 |
Closed_By | ⇒ | gunjanpatel |
Closed_Date | 2016-07-08 10:24:30 | ⇒ | 2016-07-08 10:24:31 |
Closed_By | gunjanpatel | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @gunjanpatel by The JTracker Application at issues.joomla.org/joomla-cms/11049
Closing see #11052
There are several cache settings. Which exact settings did you set?