Permalink
Browse files

look for static files in case of cache miss (concurrency issues)

  • Loading branch information...
1 parent cf0907a commit 81346a159a2827d1e445b7b17c7a433990b48307 @rlidwka committed Jan 23, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/pipeline.coffee
View
@@ -125,7 +125,8 @@ class Pipeline
server = if @files[file]?.cache then @servers.caching else @servers.normal
@serve_file(req, res, file, server, next)
else
- next()
+ @servers.caching(req, res, next)
+ #next()
serve_file: (req, res, file, server, next) ->
if @files[file]?.compiled and @files[file].cache

0 comments on commit 81346a1

Please sign in to comment.