package
0.0.0-20230307183559-2da11fd39fb3
Repository: https://github.com/ngamux/middleware.git
Documentation: pkg.go.dev

# README

Nocache

Middleware to set no cache headers.

It follows http://wiki.nginx.org/HttpProxyModule

Usage

Import

import "github.com/ngamux/middleware/nocache"

Instance

nocacheMiddleware := nocache.New()

Mount to Ngamux

mux := ngamux.New()
mux.Use(nocacheMiddleware)