3 ms·
DHH has a solution to this problem that I like: http://gist.github.com/29752 http://gist.github.com/29752 It's rails code, but the concept could be ported to o
by benatkin 17y ago
DHH has a solution to this problem that I like: http://gist.github.com/29752 http://gist.github.com/29752
It's rails code, but the concept could be ported to other languages/frameworks.
- jhancock 17y agoWOW!!! Why is this ever hitting the ruby process? These are static assets. The decision should be made at the http proxy (apache, nginx) not your ruby proc.