Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-1371

SASS cache is not being added in web modules of the marketplace releases

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 1.1.4
    • Fix Version/s: 1.1.5
    • Component/s: Content Targeting
    • Labels:
      None
    • Fix Priority:
      4

      Description

      Web modules containing css files are not including the .sass-cache in the marketplace releases.

      Download any 1.x version of Liferay Audience Targeting from marketplace, unzip and check the for example the web module:

      For the version v1.1.4

      Liferay Audience Targeting/com.liferay.content.targeting.web-portlet.jar/css/ct_simulator/

      It does not contain the .sass-cache folder:

      Liferay Audience Targeting/com.liferay.content.targeting.web-portlet.jar/css/ct_simulator/.sass-cache/

       

      Note for 6.2.10: This means that css files are parsed in runtime affecting a lot to the performance.

      Validation:

      After the issue is fixed, the loading time of the CSS resources will be notably reduced. By enabling the ALL log level for the DynamicCSSUtil class, the following lines will be now observed:

      14:43:04,301 DEBUG [http-bio-8080-exec-3][DynamicCSSUtil:164] Loading SASS cache from /css/content_targeting/.sass-cache/main.css takes 1 ms
      14:43:04,302 DEBUG [http-bio-8080-exec-10][DynamicCSSUtil:164] Loading SASS cache from /css/content_targeting/.sass-cache/rules_panel.css takes 0 ms
      14:43:04,302 DEBUG [http-bio-8080-exec-6][DynamicCSSUtil:164] Loading SASS cache from /css/content_targeting/.sass-cache/warning_restart.css takes 0 ms
      

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  1.1.5