Middleware to set no cache headers.
It follows http:https://wiki.nginx.org/HttpProxyModule
import "github.com/ngamux/middleware/nocache"
nocacheMiddleware := nocache.New()
mux := ngamux.New()
mux.Use(nocacheMiddleware)
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Middleware to set no cache headers.
It follows http:https://wiki.nginx.org/HttpProxyModule
import "github.com/ngamux/middleware/nocache"
nocacheMiddleware := nocache.New()
mux := ngamux.New()
mux.Use(nocacheMiddleware)