-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d53f5df
commit 97a2c16
Showing
2 changed files
with
10 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
// Package cachemdw is responsible for caching EVM requests and provides corresponding middleware | ||
// package can work with any underlying storage which implements simple cache.Cache interface | ||
// | ||
// package provides two different middlewares: | ||
// - IsCachedMiddleware (should be run before proxy middleware) | ||
// - CachingMiddleware (should be run after proxy middleware) | ||
// | ||
// IsCachedMiddleware is responsible for setting response in the context if it's in the cache | ||
// CachingMiddleware is responsible for caching response by taking a value from context (should be set by proxy mdw) and setting in the cache | ||
package cachemdw |
File renamed without changes.