mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 15:36:16 -04:00
Revert "Remove caching, creates more problems than it solves"
This reverts commit a4b9427896
.
This commit is contained in:
parent
5c7d96b469
commit
946568d3a3
2 changed files with 9 additions and 7 deletions
|
@ -225,7 +225,7 @@ exports.padJS = function(req, res)
|
|||
pathStr = path.normalize(__dirname + "/../var/minified_pad.js");
|
||||
}
|
||||
|
||||
res.sendfile(pathStr);
|
||||
res.sendfile(pathStr, { maxAge: server.maxAge });
|
||||
})
|
||||
}
|
||||
//minifying is disabled, so load the files with jquery
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue