Skip to content

Commit c9dee37

Browse files
committed
[Fix] Prevent html page caching
1 parent b3b1165 commit c9dee37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/www/httpd/htdocs/js/modules/global.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ APP.global = (function ($) {
3737

3838
$.ajax({
3939
type: "GET",
40-
url: "pages/" + currentPage + ".html",
40+
url: "pages/" + currentPage + ".html?nocache=" + Math.floor(Date.now() / 1000),
4141
success: function(data) {
4242
$('#container').html(data);
4343
initPageModule(currentPage);

0 commit comments

Comments
 (0)