Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The Blesta admin and client JavaScript files denote the version in the filename (e.g. "blesta-4.3.0.min.js"). Besides being a pain to update and link with each version, it's unnecessary to for preventing cache re-use, and creates additional script files (one for each version) in people's installations whenever they upgrade.

      1. Rename the blesta JS files to "app.min.js"
      2. Wherever the file is linked to (in the <head>), include a GET argument, e.g. "?v=abc123" where the value is the hashed Blesta version using the integrated HMAC hashing function
        • This will allow us to continue to use a single file, and prevent cache re-use when people update their system. Plus, it's automatic and we don't have to change file names or re-link these files ever again!

        Activity

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              22/Oct/18

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h

                Agile