Journey of Life
November 25, 2014
How to make IE not cache your golang web app responses
var w http.ResponseWriter
w.Header().Set("cache-control", "priviate, max-age=0, no-cache")
w.Header().Set("pragma", "no-cache")
w.Header().Set("expires", "-1")
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment