Use precached assets if available... #2

wants to merge 1 commit into


None yet
2 participants

... in non-development environment.

In any non-dev (i.e. :development) environment this code checks whether a precached asset file is available and serves it instead of recompiling the asset every time.

Use precached assets if available...
... in non-development environment

BTW it looks like without this patch jammit-sinatra won't work on Heroku: it'll try to check'n'recompile the assets on Heroku's RO FS.

@argent-smith How did you solve the Heroku problem? And, THANKS for the patch, I was debugging why Jammit was compiling everyime!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment