You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -208,4 +215,23 @@ export default class Server {
208
215
}
209
216
}
210
217
}
218
+
219
+
privateasyncprocessCache(res: Res,file: string){
220
+
// This method is not recommended for production use. Because this time is server time, not client time, but browsers use client time to adjust if the cache is expired.
221
+
// res.setHeader('Expires', new Date(Date.now() + 10 * 1000).toUTCString());
0 commit comments