Skip to content
This repository has been archived by the owner on Oct 13, 2018. It is now read-only.

Commit

Permalink
remove cache headers - fixes BrowserSync/browser-sync#1152
Browse files Browse the repository at this point in the history
  • Loading branch information
shakyShane committed Dec 11, 2016
1 parent e1c4e70 commit b09c594
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ function serveFile(path, type, string) {
res.writeHead(200, {
"Content-Type": typemap[type],
"Content-Encoding": "gzip",
"Cache-Control": "public, max-age=2592000000",
"Expires": new Date(Date.now() + 2592000000).toUTCString()
"Cache-Control": "no-cache, no-store, must-revalidate",
"Expires": 0,
"Pragma": "no-cache"
});

if (gzipCache[path]) {
Expand Down

0 comments on commit b09c594

Please sign in to comment.