Add cache control header to static content

This commit is contained in:
Las Zenow 2017-07-06 08:13:15 +00:00
parent ab9c5281a5
commit b338cb3393
3 changed files with 4 additions and 1 deletions

View file

@ -241,6 +241,8 @@ func openEpubFile(h handler, id string, file string) error {
return err
}
defer html.Close()
addCacheControlHeader(h.w, false)
io.Copy(h.w, html)
return nil
}