We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a65e0 commit fb5f7dbCopy full SHA for fb5f7db
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/Resources/WebResourceManager.cs
@@ -2,6 +2,7 @@
2
using System.Collections.Immutable;
3
using Abp.Collections.Extensions;
4
using Abp.Extensions;
5
+using Abp.Timing;
6
using Microsoft.AspNetCore.Hosting;
7
using Microsoft.AspNetCore.Mvc.Razor;
8
@@ -34,7 +35,7 @@ public HelperResult RenderScripts()
34
35
{
36
foreach (var scriptUrl in _scriptUrls)
37
- await writer.WriteAsync($"<script src=\"{scriptUrl}\" asp-append-version=\"true\"></script>");
38
+ await writer.WriteAsync($"<script src=\"{scriptUrl}?v=" + Clock.Now.Ticks + "\"></script>");
39
}
40
});
41
0 commit comments