Issue Bug Closed

#12094[Fluid] Ajax Widgets can't be used from within cachabele actions

Thomas Maroschik 01/11/11, 12:45 updated 12/17/21, 14:25

Description

Problem

When using a Fluid Ajax Widget on a cachable controller action, then fluid-widget-id is cached in template output. Since fluid-widget-id is bound to an individual fe_user, the fluid-widget-id won’t get updated upon every request.

Sometimes you want be able to fetch cached data via Ajax.

Solution

Check if the stored action in Widget Context is cacheable. If yes, then save the context with AjaxWidgetContextHolder to a cache instead of the session.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.