Skip to content

Keep track of locally downloaded files and don't re-request them until necessary.

License

Notifications You must be signed in to change notification settings

luhagel/s3_file_cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Keep track of locally downloaded files and don't re-request them until necessary.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages