Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure EmberCli::Deploy::File cache headers #403

Merged
merged 1 commit into from
Feb 8, 2016

Commits on Feb 5, 2016

  1. Configure EmberCli::Deploy::File cache headers

    Closes [#401].
    
    Previously, requests for Ember assets were being proxied through
    `EmberCli::Deploy::File` Rack middleware without the HTTP
    `Cache-Control` header.
    
    Ember `production` builds digest the filenames of images/css/js/etc.
    This makes these files highly cachable.
    
    This commit configures the underlying `Rack::File` middleware to serve
    assets with the `Cache-Control` header set by Rails.
    
    [#401]: #401
    seanpdoyle committed Feb 5, 2016
    Configuration menu
    Copy the full SHA
    4c67d23 View commit details
    Browse the repository at this point in the history