Web Worker javascript files

Using web workers in Rails seems a little awkward. I was wondering if
anyone had a nice work flow.

  1. Since they are loaded directly, they can’t be in the asset pipeline,
    I created a folder under public: public/web_workers/


  • The web worker code isn’t minimized.

  • The web worker code is not where all the other javascript files are,
    it is a little bit “hidden” during development.

  • The web worker code doesn’t get the fingerprint, so I’ve had some
    with the browser caching the old code.

Can anyone improve on this system?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs