Merge pull request #1483 from processing/fullview-caching
[#1234] Add header to clear cache for present view
This commit is contained in:
commit
305020e71e
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ export function serveProject(req, res) {
|
|||
resolveScripts(sketchDoc, files);
|
||||
resolveStyles(sketchDoc, files);
|
||||
|
||||
res.setHeader('Cache-Control', 'public, max-age=0');
|
||||
res.send(serializeDocument(sketchDoc));
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue