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!
- 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
Field | Original Value | New Value |
---|---|---|
Rank | Ranked higher |
Sprint | 4.4.0 Sprint 2 [ 59 ] |
Rank | Ranked higher |

Status | Open [ 1 ] | In Progress [ 3 ] |
Remaining Estimate | 0 minutes [ 0 ] | |
Time Spent | 1 minute [ 60 ] | |
Worklog Id | 11436 [ 11436 ] |
Fix Version/s | 4.4.0-b1 [ 11105 ] |
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) |

Status | In Progress [ 3 ] | In Review [ 5 ] |
Resolution | Fixed [ 1 ] |
Time Spent | 1 minute [ 60 ] | 1 hour [ 3600 ] |
Worklog Id | 11441 [ 11441 ] |

Status | In Review [ 5 ] | Closed [ 6 ] |