Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 901 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 901 Bytes

S3 File Cache

This library provides you with a simple way to cache files from S3 to your local filesystem and use those cached versions instead of downloading them from S3 every time.

Motivation

If your application relies on files stored in an S3 compatible storage that need to be accessed repeatedly, you might want to cache them locally to avoid the overhead of downloading them from S3 every time. This library enables you to do just that.

Installation

If available in Hex, the package can be installed by adding s3_file_cache to your list of dependencies in mix.exs:

def deps do
  [
    {:s3_file_cache, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/s3_file_cache.