New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

koa-split

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

koa-split

解析Combo Url

latest
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

koa-split

将URL combo请求拆分成多个请求过程,并发请求结束后合并返回。

Example

var app = koa();
app.use(split());
app.listen(3000);

例如当用户请求http://127.0.0.1:3000/mui/??a.css,b.css时,koa-split会并发请求http://127.0.0.1:3000/mui/a.csshttp://127.0.0.1:3000/mui/b.css,当两个请求的内容都返回后,koa-split将他们合并后返回给浏览器。

进阶用法

  • koa-assets配合使用,搭建前端本地代理环境

FAQs

Package last updated on 26 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts