Skip to content

valenciaj/kemal-cache-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kemal-cache-basic

Add basic caching feature to Kemal

Installation

Add this to your application's shard.yml:

dependencies:
  kemal-cache-basic:
    github: valenciaj/kemal-cache-basic

Usage

require "kemal-cache-basic"

You must set "cache" key in context request object to true to enable cache, and the next request fly with Kemal. Be careful with non GET requests.

Contributing

  1. Fork it ( https://github.com/valenciaj/kemal-cache-basic/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • valenciaj Javier Valencia - creator, maintainer

About

Add basic caching feature to Kemal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published