Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-85474

As an administrator, I would like to be able to clear the Freemarker cache

    Details

      Description

      When Liferay is started, all of Freemarker's variables are calculated and cached. The .ftl files provided are not evaluated yet, but the variables and classes are (see the .config file for "restrictedVariables" and "restrictedClasses"). If you later change a configuration to add or remove variables, it won't take effect until the portal is restarted because they have already been cached.

      The result is that Freemarker does not behave as administrators would expect an OSGi component to. While this is expected based on the caching implementation, it would be a much better user experience to be able to clear the cache and change configurations without requiring a full restart.

        Attachments

          Activity

            People

            Assignee:
            support-lep@liferay.com SE Support
            Reporter:
            michael.warren.young Michael Warren Young
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package