首页 开发技术 其它     /    suitx:同构布局编辑器中使用的前端微服务的流式布局服务-源码

suitx:同构布局编辑器中使用的前端微服务的流式布局服务-源码

上传者: weixin_42131633 | 上传时间:2023/5/31 6:33:24 | 文件大小:108KB | 文件类型:ZIP
suitx:同构布局编辑器中使用的前端微服务的流式布局服务-源码
npm状态TailorX是一种布局服务,它使用流从片段服务组成网页。
O'Reilly在的标题中将其描述为“一个提供可集成到任何Node.js服务器的中间件的库”。
它的部分灵感来自Facebook的并基于。
TailorX的一些功能和优点:在后端组成预渲染的标记。
这对于SEO很重要,并可以固定初始渲染。
确保快速到达第一个字节。
TailorX并行请求片段并尽快流式传输它们,而不会阻塞页面的其余部分。
加强绩效预算。
否则,这非常具有挑战性,因为您无法控制性能。
容错。
即使页面片段失败或超时,也要渲染有意义的输出。
TailorX是Isomorphic一部分,该旨在

文件下载

资源详情

[{"title":"(74个子文件108KB)suitx:同构布局编辑器中使用的前端微服务的流式布局服务-源码","children":[{"title":"tailorx-master","children":[{"title":".travis.yml <span style='color:#111;'>504B</span>","children":null,"spread":false},{"title":".eslintrc <span style='color:#111;'>817B</span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'>2.16KB</span>","children":null,"spread":false},{"title":"docs","children":[{"title":"Events.md <span style='color:#111;'>1.40KB</span>","children":null,"spread":false},{"title":"Base-Templates.md <span style='color:#111;'>1.86KB</span>","children":null,"spread":false}],"spread":true},{"title":"logo","children":[{"title":"tailorx-logo.png <span style='color:#111;'>28.20KB</span>","children":null,"spread":false},{"title":"tailor-logo.svg <span style='color:#111;'>6.40KB</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>170B</span>","children":null,"spread":false}],"spread":true},{"title":"package.json <span style='color:#111;'>1.74KB</span>","children":null,"spread":false},{"title":"perf","children":[{"title":"loadtest.js <span style='color:#111;'>275B</span>","children":null,"spread":false},{"title":"fragment-server.js <span style='color:#111;'>490B</span>","children":null,"spread":false},{"title":"benchmark.js <span style='color:#111;'>2.92KB</span>","children":null,"spread":false}],"spread":true},{"title":"tests","children":[{"title":"tailor.js <span style='color:#111;'>63.66KB</span>","children":null,"spread":false},{"title":"serializer.js <span style='color:#111;'>4.09KB</span>","children":null,"spread":false},{"title":"parse-link-header.js <span style='color:#111;'>2.30KB</span>","children":null,"spread":false},{"title":"handle-tag.js <span style='color:#111;'>3.06KB</span>","children":null,"spread":false},{"title":"fragment.js <span style='color:#111;'>1.12KB</span>","children":null,"spread":false},{"title":"parse-template.js <span style='color:#111;'>540B</span>","children":null,"spread":false},{"title":"tailor.events.js <span style='color:#111;'>6.67KB</span>","children":null,"spread":false},{"title":"filter-headers.js <span style='color:#111;'>831B</span>","children":null,"spread":false},{"title":"fetch-template.js <span style='color:#111;'>3.34KB</span>","children":null,"spread":false},{"title":"process-template.js <span style='color:#111;'>8.12KB</span>","children":null,"spread":false},{"title":"template-cutter.js <span style='color:#111;'>6.96KB</span>","children":null,"spread":false},{"title":"request-fragment.js <span style='color:#111;'>5.29KB</span>","children":null,"spread":false},{"title":"streams","children":[{"title":"buffer-concat-stream.js <span style='color:#111;'>464B</span>","children":null,"spread":false},{"title":"content-length-stream.js <span style='color:#111;'>953B</span>","children":null,"spread":false},{"title":"header-injector-stream.js <span style='color:#111;'>2.69KB</span>","children":null,"spread":false},{"title":"stringifier-stream.js <span style='color:#111;'>5.61KB</span>","children":null,"spread":false},{"title":"seobots-guard-stream.js <span style='color:#111;'>5.50KB</span>","children":null,"spread":false},{"title":"async-stream.js <span style='color:#111;'>1.32KB</span>","children":null,"spread":false}],"spread":false},{"title":"transform.js <span style='color:#111;'>3.02KB</span>","children":null,"spread":false},{"title":"fragment.events.js <span style='color:#111;'>3.90KB</span>","children":null,"spread":false}],"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'>2.42KB</span>","children":null,"spread":false},{"title":"index.d.ts <span style='color:#111;'>3.16KB</span>","children":null,"spread":false},{"title":"NOTICE.md <span style='color:#111;'>311B</span>","children":null,"spread":false},{"title":"codecov.yml <span style='color:#111;'>52B</span>","children":null,"spread":false},{"title":"examples","children":[{"title":"basic-css-and-js","children":[{"title":"index.js <span style='color:#111;'>1.54KB</span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'>112B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"basic","children":[{"title":"index.js <span style='color:#111;'>749B</span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'>125B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"custom-tags","children":[{"title":"index.js <span style='color:#111;'>2.65KB</span>","children":null,"spread":false},{"title":"templates","children":[{"title":"index.html <span style='color:#111;'>278B</span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"basic-typescript","children":[{"title":"templates","children":[{"title":"index.html <span style='color:#111;'>101B</span>","children":null,"spread":false}],"spread":false},{"title":"tsconfig.json <span style='color:#111;'>493B</span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'>500B</span>","children":null,"spread":false},{"title":"index.ts <span style='color:#111;'>683B</span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":".gitignore <span style='color:#111;'>115B</span>","children":null,"spread":false},{"title":"CHANGELOG.md <span style='color:#111;'>8.80KB</span>","children":null,"spread":false},{"title":"lib","children":[{"title":"request-handler.js <span style='color:#111;'>9.27KB</span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'>2.28KB</span>","children":null,"spread":false},{"title":"wait-fragment-responses.js <span style='color:#111;'>605B</span>","children":null,"spread":false},{"title":"serializer.js <span style='color:#111;'>6.57KB</span>","children":null,"spread":false},{"title":"parse-link-header.js <span style='color:#111;'>2.36KB</span>","children":null,"spread":false},{"title":"fragment.js <span style='color:#111;'>9.48KB</span>","children":null,"spread":false},{"title":"parse-template.js <span style='color:#111;'>1.11KB</span>","children":null,"spread":false},{"title":"process-fragment-response.js <span style='color:#111;'>873B</span>","children":null,"spread":false},{"title":"filter-headers.js <span style='color:#111;'>947B</span>","children":null,"spread":false},{"title":"tracing.js <span style='color:#111;'>504B</span>","children":null,"spread":false},{"title":"fetch-template.js <span style='color:#111;'>3.54KB</span>","children":null,"spread":false},{"title":"process-template.js <span style='color:#111;'>1.67KB</span>","children":null,"spread":false},{"title":"template-cutter.js <span style='color:#111;'>2.69KB</span>","children":null,"spread":false},{"title":"request-fragment.js <span style='color:#111;'>2.73KB</span>","children":null,"spread":false},{"title":"streams","children":[{"title":"buffer-concat-stream.js <span style='color:#111;'>391B</span>","children":null,"spread":false},{"title":"content-length-stream.js <span style='color:#111;'>437B</span>","children":null,"spread":false},{"title":"stringifier-stream.js <span style='color:#111;'>2.97KB</span>","children":null,"spread":false},{"title":"seobots-guard-stream.js <span style='color:#111;'>3.62KB</span>","children":null,"spread":false},{"title":"async-stream.js <span style='color:#111;'>868B</span>","children":null,"spread":false},{"title":"head-injector-stream.js <span style='color:#111;'>1.79KB</span>","children":null,"spread":false}],"spread":false},{"title":"transform.js <span style='color:#111;'>3.45KB</span>","children":null,"spread":false},{"title":"errors.js <span style='color:#111;'>359B</span>","children":null,"spread":false}],"spread":false},{"title":"README.md <span style='color:#111;'>11.61KB</span>","children":null,"spread":false},{"title":".eslintignore <span style='color:#111;'>102B</span>","children":null,"spread":false},{"title":".editorconfig <span style='color:#111;'>386B</span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'>11.09KB</span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明