ruby on rails - Gulp-rev on multiple servers -
we have number of production servers , introduced gulp building our frontend of our app , away rails asset pipeline.
so far except rails asset pipeline used magically sync cache busting between servers , load balancer worked nicely. not case gulp-rev
builds on each individual server , randomly assigns hash files, causing problems load balancing (sometimes files aren't loading because browser requesting hashed file name server 1)
what best way solve this?
one suggested way compile or build via gulp dump product each server (perhaps jenkins help) using pretty og way of deploying chef.
Comments
Post a Comment