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.
- Rename the blesta JS files to "app.min.js"
- 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
Tyson Phillips (Inactive)
created issue -
Tyson Phillips (Inactive)
made changes -
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Tyson Phillips (Inactive)
made changes -
Sprint | 4.4.0 Sprint 2 [ 59 ] |
Tyson Phillips (Inactive)
made changes -
Rank | Ranked higher |
Automated transition triggered when Tyson Phillips (Inactive) created a branch in Stash -
Status | Open [ 1 ] | In Progress [ 3 ] |
Tyson Phillips (Inactive)
made changes -
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 1 minute [ 60 ] | |
Worklog Id | 11436 [ 11436 ] |
Tyson Phillips (Inactive)
made changes -
Fix Version/s | 4.4.0-b1 [ 11105 ] |
Tyson Phillips (Inactive)
made changes -
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.
# Rename the blesta JS files to "blesta.min.js" # 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! (y) |
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.
# Rename the blesta JS files to "app.min.js" # 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! (y) |
Automated transition triggered when Tyson Phillips (Inactive) created pull request #517 in Stash -
Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Tyson Phillips (Inactive)
made changes -
Time Spent | 1 minute [ 60 ] | 1 hour [ 3600 ] |
Worklog Id | 11441 [ 11441 ] |
Automated transition triggered when Tyson Phillips (Inactive) merged pull request #517 in Stash -
Status | In Review [ 5 ] | Closed [ 6 ] |