Skip to content

[READ-ONLY] Stable interface and helpers for caching HTTP responses.

License

Notifications You must be signed in to change notification settings

jamesponddotco/pagecache-go

Repository files navigation

pagecache

Go Documentation Go Report Card pagecache-go build status

Note: This library is under active development and most pieces haven't been tested yet. Do not use in production until a tagged release is out.

Package pagecache provides a stable interface and helpers for caching HTTP responses.

Features

  • Stable cache interface.
  • Simple and easy-to-use API.
  • Multiple helpers, making implementation easier.

pagecache.Cache implementations

The pagecace package itself only provides a cache interface and helper functions for users who wish to implement that interface. You can either use an implementation created by someone else or write your own.

Implementations

If you wrote a pagecache.Cache implementation and wish it to be linked here, please send a patch.

Installation

To install pagecache alone, run:

go get git.sr.ht/~jamesponddotco/pagecache-go

Contributing

Anyone can help make pagecache better. Check out the contribution guidelines for more information.

Resources

The following resources are available:


Released under the MIT License.