Remove "setNoCache()" from default web file get.

Cache manifest takes care of cache control now.
pull/257/head
Christopher Young 2016-02-15 17:13:22 -05:00
rodzic 3a01a4268d
commit f63f70d1d2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -290,7 +290,7 @@ func setNoCache(w http.ResponseWriter) {
}
func defaultServer(w http.ResponseWriter, r *http.Request) {
setNoCache(w)
// setNoCache(w)
http.FileServer(http.Dir("/var/www")).ServeHTTP(w, r)
}