improve cache busting for module/theme static assets (ie. do not require a restart)
This commit is contained in:
@@ -99,7 +99,7 @@ namespace Oqtane.Repository
|
||||
Theme.ContainerSettingsType = theme.ContainerSettingsType;
|
||||
Theme.PackageName = theme.PackageName;
|
||||
Theme.PermissionList = theme.PermissionList;
|
||||
Theme.Fingerprint = Utilities.GenerateSimpleHash(theme.ModifiedOn.ToString("yyyyMMddHHmm"));
|
||||
Theme.Fingerprint = theme.Fingerprint;
|
||||
Themes.Add(Theme);
|
||||
}
|
||||
|
||||
@@ -165,6 +165,7 @@ namespace Oqtane.Repository
|
||||
Theme.CreatedOn = theme.CreatedOn;
|
||||
Theme.ModifiedBy = theme.ModifiedBy;
|
||||
Theme.ModifiedOn = theme.ModifiedOn;
|
||||
Theme.Fingerprint = Utilities.GenerateSimpleHash(theme.ModifiedOn.ToString("yyyyMMddHHmm"));
|
||||
}
|
||||
|
||||
// any remaining themes are orphans
|
||||
|
||||
Reference in New Issue
Block a user