moneyadviceservice/frontend — pull request #394 by jakubpawlowicz (2014-05-23 09:01:43+00:00)
Title: [DO NOT MERGE] Dynamic optimizely script

Because we want to serve optimizely script, and possibly other scripts as well, from our own domain so we need a hack.

The idea is to have a custom script which pulls Optimizely API every couple minutes and check if JS script version changed. If it does, then fetch it, digest, save, and update `version` file keeping the digest (PR will follow).

This PR is about responsive site's part which is basically about fetching `version` file, building script tag, plus some caching to avoid hitting the disk on every request.

Missing parts:
- tests
- tests
- tests

Thoughts?