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

CSS cached files generated by Chrome or Firefox are used by Internet Explorer

Details

    Description

      Solution Notes
      The following property has been updated with a new value (BrowserIdCacheFileNameContributor) as part of the changes for 6.2 version:

      ##
      ## Cache File Name Contributors
      ##
      
          #
          # Input a list of comma delimited class names that implement
          # com.liferay.portal.servlet.filters.util.CacheFileNameContributor.
          #
          # These classes contribute to the cache file names for static resources in
          # AggregateFilter and DynamicCSSFilter.
          #
          cache.file.name.contributors=\
              \
              #com.liferay.portal.servlet.filters.util.ColorSchemeIdCacheFileNameContributor,\
              \
              com.liferay.portal.servlet.filters.util.BrowserIdCacheFileNameContributor,\
              com.liferay.portal.servlet.filters.util.LanguageIdCacheFileNameContributor,\
              com.liferay.portal.servlet.filters.util.MinifierTypeCacheFileNameContributor,\
              com.liferay.portal.servlet.filters.util.ThemeIdCacheFileNameContributor
      

      These contributor classes are defined in portal-impl.jar#META-INF/util-spring.xml in 7.0 version.


      Master Reproduction Steps:

      1-) Create a custom theme with some IE specific selector.

      themes attached can be used for this purpose.
      2-) Deploy this theme and use it for any page with using a browser different than IE for the first time.
      3-) Open the portal from IE selector.
      4-) See that portal uses the same cache which was cached for other browsers than IE.


      EE-6.2.x Reproduction Steps

      1-) Same steps as above except using the ee-6.2.x specific theme that is attached


      Expected: The cache file for IE should be different and that one should be sent for IE browsers
      Actual result: Same cache file will appear for IE as well.

      Attachments

        Issue Links

          Activity

            People

              joyce.wang Joyce Wang
              ugurcan.cetin Uğurcan Çetin (Inactive)
              Marta Elicegui Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5 years, 29 weeks ago

                Packages

                  Version Package
                  6.2.X EE
                  7.0.0 DXP FP33
                  7.0.0 DXP SP7
                  7.0.5 CE GA6
                  7.0.X
                  Master