Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: efddc3a664
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (16 sloc) 0.356 kb
require 'bundler/setup'
require 'rake-pipeline'
require 'rake-pipeline/middleware'
class NoCache
def initialize(app)
@app = app
end
def call(env)
@app.call(env).tap do |status, headers, body|
headers["Cache-Control"] = "no-store"
end
end
end
use NoCache
use Rake::Pipeline::Middleware, "Assetfile"
run Rack::Directory.new('.')
Jump to Line
Something went wrong with that request. Please try again.