From 5b444f7fc11d65a5102aed047d8815099ad6d46b Mon Sep 17 00:00:00 2001 From: wolfcode <37436228+wolf-leo@users.noreply.github.com> Date: Wed, 11 Sep 2024 09:45:17 +0800 Subject: [PATCH] fix(admin): remove version param from require.js to use cache Removed the version parameter from the require.js src attribute to enable browser caching of the script. This change will improve load times and performance by leveraging cached versions of the script when users revisit the site. --- app/admin/view/layout/default.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/view/layout/default.html b/app/admin/view/layout/default.html index 353ef1c..041618f 100644 --- a/app/admin/view/layout/default.html +++ b/app/admin/view/layout/default.html @@ -25,7 +25,7 @@ EDITOR_TYPE: "{$adminEditor|default='ueditor'}", }; - +