TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

2 点作者 shawnjan8将近 13 年前

1 comment

shawnjan8将近 13 年前
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.