-
Bug
-
Resolution: Fixed
-
Neutral
-
None
-
None
-
Empty show more show less
-
DevX 30
-
3
Steps to reproduce
- demopublic --> set cache to false (authenticated) - so to test caching in same browser session
https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:configuration:browser;/modules/cache/config/contentCaching/defaultPageCache/cachePolicy/shouldBypassVoters/deny/authenticated@enabled:treeview: - set dynamic fragment (bypass cache config for tourCarousel component
https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:resources:edit;/tours/templates/components/tourCarousel.yaml:editfragmentDefinition: class: info.magnolia.module.advancedcache.rendering.DynamicFragmentDefinition ttl: 0 mechanism: sitemesh dynamic: true
- set date / time content for testing cache
https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:resources:edit;/tours/templates/components/tourCarousel.ftl:edit
On top of ftl:[#assign now = .now /] [#assign time = now?time /] <h2>${time}</h2>
- Initially node https://demopublic.magnolia-cms.com/.magnolia/admincentral#app:configuration:browser;/server/rendering/engine/listeners/personalizedComponent:treeview: is enabled - after some refreshes of homepage (https://demopublic.magnolia-cms.com/) you will see that date content is cached (which should not)
- Create property enabled: false – module will be restarted and after some new refreshes you will notice that date content is now bypassed (expected behavior)
.. Logs, screenshots, gifs...
Expected results
Content should not get cached at step 4 and the time displays the current time
Actual results
Content gets cached at step 4 and the time displays the old time
Workaround
Development notes
Acceptance criteria
- relates to
-
MSITEMESH-64 DOC: Cache issues when component is both personalized and dynamic
- Closed
-
MSITEMESH-65 Make module compatible with JAVA 11/17 and Magnolia 6.3.x
- Closed
1.
|
Implementation | Completed | Milan Divilek | |||||||||
2.
|
Review | Closed | Roman Kovařík | |||||||||
3.
|
preintQA | Closed | Oanh Thai Hoang |
|
||||||||
4.
|
QA | Completed | Canh Nguyen |