Discover Packages
github.com/golevi/cache-handler
handlers
package
Version:
v0.1.0-alpha.6
Opens a new window with list of versions in this module.
Published: Feb 26, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Cookie compares the config cookie values against the ones sent by the request
and if one matches, we want to bypass the cache.
Method checks the config methods we should cache against the request method
and determines whether or not this request should be cached.
URI takes the config Bypass and checks those URIs against the current request
uri to see if it matches. If it does, we return true because we should bypass
this requeust.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.