Eliminate JS overheads by only requesting diffs

I was talking with a potential client yesterday about a web app that they wanted to make as ‘native’ as possible. One barrier to getting that fast loading native feel is the number of HTTP requests when loading new data. We discussed using a framework with minimal templates and local cache to reduce the amount of data being requested, but it would be great if the number of requests could be minimised too.

Shazzam: DYNOSRC!


Eliminate HTTP requests for JavaScript files and serve differential updates to your users on the fly.

Okay, I’ll bite: how?

Minimize HTTP Requests – DynoSRC loads JavaScript files inline in your HTML response, then stores them in localStorage. You can even inline the DynoSRC client lib, eliminating all HTTP requests for JavaScript on your site.

Wait? Whut? Inline JS? That sounds wrong! But by storing them in localStorage and eliminating the need to reload, and completely removing the HTTP requests… that sounds like one step back, two steps forward. I’m intrigued…

Differential Updates – Now, if a JS asset on your site changes, your users will have to download it again even though just a fraction of it changed. DynoSRC sends down differentials updates, so changes to large files don’t require full downloads.

Yeah baby. That’s where it’s clever.

Requires NodeJS server
Could be greedy it seems, so probably better for smaller apps without a massive codebase at the moment, but can be configured to only work with certain assets.

Keep an eye on this one…

Leave a Reply

Your e-mail address will not be published. Required fields are marked *