Skip to content
This repository has been archived by the owner on May 18, 2021. It is now read-only.

luhn/rocketsled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rocketsled — Immutable cloud files

Build Status

Rocksled uploads your static files to a cloud storage service. (Currently only Amazon S3 is supported.) These uploaded files are immutable. This means that they can be heavily cached and that your application will always be loading the correct static files, even if you're running two or more versions of the application simultaneously.

CORS

Cross Origin Resource Sharing allows a website to interact with resources from other domains. CORS is necessary to load some resources, such as webfonts, from S3. To enable CORS, paste the following into your S3 bucket policy.

<CORSConfiguration>
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>GET</AllowedMethod>
        <MaxAgeSeconds>3000</MaxAgeSeconds>
    </CORSRule>
</CORSConfiguration>

For more information on CORS with S3, see Amazon's documentation.

About

Store static assets immutably in the cloud.

Resources

License

Stars

Watchers

Forks

Packages

No packages published