Tag: pageLayoutWidgetCache
do-not-consume
attribute value of the widget cache entry to false
when a dependency ID with the name ignoreDoNotConsume
is found in the cache
definition.This tag is used to help determine whether to consume the widget for caching. When a
cache entry exists for a widget within the cachespec.xml, the default value for
the do-not-consume
attribute is true
and the default value for the
do-not-cache
attribute is also true
. The widget JSP fragment is
not cached. If you include the wcpgl:pageLayoutWidgetCache tag in the JSP file
for a widget, the class for this tag dynamically sets the widget JSP fragment to be consumed when
the dependency IDs defined for the cache entry contain a dependency ID with the name
ignoreDoNotConsume
.
<wcpgl:pageLayoutWidgetCache/>
When the widget JSP executes, the
associated tag handler class checks for the presence of the ignoreDoNotConsume
dependency ID. If present, the do-not-consume attribute is reset to false,
enabling the widget to be consumed by the parent page. It also adds this widget's dependency ID
values to that of the parent page.For more information about Commerce Composer caching, see Commerce Composer widget caching and invalidation.
Tag information | |
---|---|
Body Content | empty |
There are no attributes that are defined for the pageLayoutWidgetCache tag.
EXAMPLE
<wcpgl:pageLayoutWidgetCache/>