disable cache for static
This commit is contained in:
@@ -24,6 +24,9 @@ export class StaticController extends Controller {
|
||||
.status(200)
|
||||
.header("Cross-Origin-Resource-Policy", "cross-origin")
|
||||
.header("Content-Type", file.mimeType)
|
||||
.header("Cache-Control", "no-cache, no-store, must-revalidate")
|
||||
.header("Pragma", "no-cache")
|
||||
.header("Expires", "0")
|
||||
.send(file.buffer);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user