Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: MOTION-157

...

The module brings info.magnolia.module.advancedcache.rendering.DynamicFragmentDefinition. If you want to mark an area/component as a dynamic one, just add it to its template definition:

...

heading0
multiplefalse
enableHeadingAttributesfalse
enableSortingfalse
classm5-configuration-tree
enableHighlightingfalse

...

Mgnl f
commenting

...

    

Mgnl f
templates

...

        

Mgnl f
components

...

            

Mgnl n
comments

...

                

Mgnl n
fragmentDefinition

...

                    

Mgnl p
class

...

info.magnolia.module.advancedcache.rendering.DynamicFragmentDefinition

...

                    

Mgnl p
ttl

...

0

...

                    

Mgnl p
mechanism

...

sitemesh

...

                    

Mgnl p
dynamic

...

Image Added


Apart from the dynamic property you can set also time to live (ttl) in seconds. The zero means that this component can't be cached. Mechanism is a tool such as SiteMesh which inserts dynamic content into a dynamic page. This mechanism will replace injection tags created by Fragment Injection Listener with fresh content of dynamic components.  

...