An open API service indexing awesome lists of open source software.

https://github.com/kambahr/go-webcache

A simple, lightweight Cache Manager for Go websites.
https://github.com/kambahr/go-webcache

cache golang-websites html mod page webcache

Last synced: 5 days ago
JSON representation

A simple, lightweight Cache Manager for Go websites.

Awesome Lists containing this project

README

          

# Web Cache Manager for Golang websites

## Webcache is a simple, lightweight Cache Manager for Golang websites.

Cache html, image, css, javascript, and other files.
Set the time duration globally and/or for each file.

### Run the test sample
Build the test project and navigate to http://localhost:8005/mypage.htm.

#### Run the test sample outside of $GOPATH

- Start a shell window
- cd <to any directory (other than $GOPATH)>
- git clone https://github.com/kambahr/go-webcache.git && cd go-webcache/test
- go mod init go-webcache/test
- go mod tidy
- go mod vendor
- go build -o cacheDemo && ./cacheDemo

Navigate to http://localhost:8005/mypage.html.