Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: Master
    • Component/s: Liferay Themes
    • Labels:
      None

      Description

      Currently, we load our svg icons through an svg spritemap located in our themes.

      For some reason, we're currently loading a wide variety of paths for it and in a way that seems to prevent caching (see attached screenshot).

      The goal of this story is to:

      • Analyze the current usages of icons.svg and how their paths are being generated
      • Make the necessary changes to have a consistent single path to icons.svg reducing the amount of times we need to load them
      • Improve our caching mechanism for this

      Acceptance Criteria:

      • When landing on a page for a first time, only 1 instance of icons.svg is loaded
      • When landing on a page for a second time, icons.svg comes from the cache
      • When navigating through pages, no different icons.svg requests are made

      As with Disable svg4Everybody this might be rendered unnecessary depending on the work done at Decouple Icons from Themes, but it's unclear when that will happen or the final result, so we might still benefit from this in the short term.

        Attachments

          Activity

            People

            Assignee:
            bryce.osterhaus Bryce Osterhaus
            Reporter:
            jose.balsas Chema Balsas
            Engineering Assignee:
            SE Support
            Recent user:
            Tomáš Polešovský
            Participants of an Issue:
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                Master