http.FileServer caching files and serving old versions after edit

后端 未结 4 1900
甜味超标
甜味超标 2020-12-31 11:51

Having issues with the http package in the core of go. It appears that the file contents is cached although the Content-Length in the response body is correct. To demonstrat

4条回答
  •  难免孤独
    2020-12-31 12:06

    This can be a client issue, what browser are you using ? Maybe you could try different browsers, curl, wget etc...

提交回复
热议问题