addyosmani/critical — pull request #55 by danshearmur (2014-12-18 12:41:12+00:00)
Title: Get resources over HTTP

Kind of addresses https://github.com/addyosmani/critical/issues/19

This is a super rough outline of an approach that let's you specify `remoteUrl` and `externalDomains` and get HTML and CSS over HTTP.

example usage:

```
critical.generateInline({
base: 'dist/',
remoteUrl: 'http://somesite.com',
externalDomains: ['http://cdn.somesite.com']
});
```

It might be better to dump the HTML to disk, generate the new version and text diff the two, so that you can better see where to update your templates.

This still needs:
* tests coverage
* better error management
* comments