TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Get all your scripts with one request using Jazzcat and Mobify.js

2 pointsby shawnjan8almost 13 years ago

1 comment

shawnjan8almost 13 years ago
TL;DR - Mobify.js fires off one request to Jazzcat, which grabs all of your scripts and returns back a single concatenated file. As for how it actually works, we use the DOM pre-parsing capabilities of Mobify.js to grab script URLs and remove the scripts from the source document before it's rendered by the browser. THEN a request is made for the single javascript file from Jazzcat.<p>The feature currently only works for Mobify.js projects. Soon, you will be able to use this service on any website by adding a single line of Javascript into your existing site.