Uploaded image for project: 'PUBLIC - Liferay Documentation'
  1. PUBLIC - Liferay Documentation
  2. LRDOCS-6941

Geolocating documentation should mention that templates should not be cached

    Details

    • Type of Documentation:
      User

      Description

      Per Balázs Sáfrány-Kovalik on LRSUPPORT-31267:

      Based on the Warning message given on editing DDMTemplates:

      WarningThis template is marked as cacheable. Avoid using code that uses request handling, the CMS query API, taglibs, or other dynamic features. Uncheck the "cacheable" property if dynamic behavior is needed.

      I'd like to as for an update in geolocating assets documentation (7.0, 7.1, 7.2):

      https://dev.liferay.com/en/discover/portal/-/knowledge_base/7-1/geolocating-assets

       

      I'm suggesting that we add that "templates using the default geolocation script should be set as not cacheable as the script is using the tag map-display from the liferay-map taglib"

        Attachments

          Activity

            People

            • Assignee:
              richard.sezov Rich Sezov
              Reporter:
              jay.lee Jay Lee
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Packages

                Version Package
                7.1.x