Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-17646

Put big inline JavaScript blocks in a dedicated .js file

    XMLWordPrintable

Details

    Description

      This would increase frontend performances because external JavaScript are cached by the browser and are minified with ezjscore.

      I mainly think of the ContentStructureMenu JavaScript which is inline (17kb on my site!) and so it is repeated on every content/view (and content/dashboard) pages.
      This particular piece of JS needs some work to separate the "dynamic" part that should stay in the template from the "static" part to put in the external JS file.

      Attachments

        Activity

          People

            andre1 andre1
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: