26 个仓库
Utilities for improving web application speed and core metrics.
Distinguishing note: Focuses on performance metrics, distinct from general web development.
Explore 26 awesome GitHub repositories matching web development · Web Performance Optimization Tools. Refine with filters or upvote what's useful.
This project is a comprehensive reference guide and checklist for configuring the HTML head element of a webpage. It provides instructions for managing metadata, scripts, and styles to ensure consistent document rendering and indexing. The resource focuses on search engine optimization through structured data and geographic tags, as well as social media integration using Open Graph and platform-specific tags. It includes guidance on mobile web optimization, specifically regarding viewport settings and web app manifests for home screen installation. The project also covers web performance opt
Provides technical guidance on configuring viewport settings and responsiveness to improve mobile device rendering.
Squoosh is a browser-based image optimizer that compresses and converts image files directly within the local environment. By performing all operations on the user device, it eliminates the need for server-side processing, ensuring that sensitive data remains private and reducing network latency. The tool utilizes a collection of high-performance image codecs compiled via WebAssembly to provide professional-grade file optimization and format conversion. To maintain interface responsiveness during resource-intensive tasks, the application offloads image manipulation to background threads and u
Improves page load speeds and core web vitals by optimizing image file sizes.
This project is a web development boilerplate and starter kit providing a pre-configured foundation for creating high-performance, responsive websites. It functions as a development kit for building progressive web apps, incorporating a front-end build pipeline and responsive site templates. The kit distinguishes itself through a multi-device testing workflow that synchronizes clicks, scrolls, and form inputs across multiple browsers and devices in real-time. It also includes a dedicated setup for offline functionality using service workers and web manifests to enable native-like installation
Provides utilities to identify and resolve technical bottlenecks and improve core web performance metrics.
AssemblyScript is a compiler and tooling suite used for WebAssembly module development. It converts a subset of TypeScript syntax into binary modules to achieve high execution speeds and cross-platform binary execution. The project focuses on translating typed source code into the compact binary format required by WebAssembly runtimes. This allows for the movement of computationally heavy logic into binary modules for browser performance optimization and execution across different operating systems. The compilation process involves TypeScript-compatible syntax analysis and the generation of
Improves web application speed and responsiveness by moving computationally heavy logic from JavaScript to WebAssembly.
This project is a web component framework and optimized web markup standard designed for high performance web development. It provides a system for building fast-loading websites using a specialized set of HTML components and scripts, complemented by a web performance validation suite to ensure markup compliance. The framework includes a dynamic HTML template engine for rendering data-driven content without full page reloads and a dedicated ad network integration framework. This integration system manages third-party advertisements with built-in viewability metrics and optimized loading seque
Provides a machine-readable validation suite to ensure markup compliance with performance and security rules.
Partytown is a library designed to offload resource-intensive third-party scripts to background web workers. By executing these scripts outside of the main thread, it prevents them from blocking the critical rendering path, thereby maintaining a responsive user interface and improving overall page load performance. The project functions as a web worker proxy library that synchronizes browser interfaces between the main thread and background environments. It uses proxy-based access and synchronous messaging to replicate global objects like the window and document, allowing scripts to interact
Improves page load speed by offloading heavy tracking and analytics scripts to isolated background execution environments.
VasSonic is a hybrid mobile app framework for Android and iOS designed to optimize the loading speed of web views. It functions as a web view performance optimizer and a mobile web resource cache, utilizing an HTML differential update engine to minimize remote network fetches and reduce first-screen load times. The framework distinguishes itself by splitting HTML into static templates and dynamic data, calculating differences between server state and cached content to send only modified fragments. It employs a native-to-JavaScript bridge to sync these server-side data updates directly into th
Utilizes network interception and caching to reduce first-screen load times and improve web view speed.
Quicklink is a JavaScript library and web performance optimization tool that fetches linked resources as they enter the browser viewport. It serves as a viewport-based resource preloader and a wrapper for the browser speculation rules API to reduce perceived page load times. The library implements background page rendering and predictive resource prefetching to enable faster navigation transitions. It manages a cache of prefetched URLs and uses browser speculation rules to render full pages in the background. The tool includes capabilities for resource filtering via regular expressions, netw
Reduces perceived page load times by managing a cache of prefetched URLs and background rendering.
This project is a software engineering style guide and a curated collection of architectural patterns and coding standards. It provides a multi-language coding standard to ensure maintainable software across Ruby, Python, JavaScript, and Swift. The project establishes a development workflow specification for version control, continuous integration, and peer review to maintain a linear project history. It also includes a web accessibility framework based on ARIA and WCAG standards, using design tokens and semantic HTML patterns to build inclusive interfaces. The guides cover a broad range of
Provides guidelines for asset loading and performance optimization to improve user experience.
Magic 是一个 CSS 动画库和视觉效果框架,提供了一系列预定义的运动样式,用于移动、旋转和转换 Web 元素。它作为一个构建时 CSS 优化器,仅编译项目中使用的特定动画样式,以最小化最终样式表的大小。 该框架通过允许通过脚本、悬停事件或时间延迟以程序化方式触发动画,实现了交互式用户界面开发。它利用时间轴和运动类系统来管理视觉过渡的持续时间和速度。 该项目涵盖前端视觉样式和动画管理,专注于运动效果的应用以及通过自定义动画包优化 Web 性能。
Implements build-time optimizations to reduce stylesheet size and improve overall web page load speed.
该项目是一个原生 JavaScript 库和 Web 性能优化工具,旨在推迟图像、视频和 iframe 的加载,直到它们进入浏览器视口。它充当交叉观察器(Intersection Observer)封装器和自适应媒体加载器,以减少初始页面加载时间并节省带宽。 该库通过支持 srcset 和 picture 标签的响应式图像,以及 CSS 背景图像和动画 SVG 而脱颖而出。它在可用时与原生浏览器加载属性集成,同时为不支持的环境提供自定义回退。它还可以根据元素可见性触发特定 JavaScript 函数的执行。 广泛的功能包括前端资产管理,支持自定义滚动容器定位和针对异步注入元素的动态内容观察。该实用程序还通过资产加载错误处理来管理网络可靠性,并取消在完成前退出视口的元素的活动下载。
Increases initial page speed by reducing the number of assets loaded during the first request.
该项目是一个增长工程指南和全栈开发课程。它作为应用精益工程和数据驱动工作流以加速产品增长的手册,同时为构建、扩展和维护 Web 应用提供了结构化的学习路径。 该资源作为一个精益软件开发框架和可扩展架构手册。它提供了使用微服务和缓存设计解耦系统的指南以确保稳定性,以及用于提高网站速度和搜索引擎可见性的 Web 性能优化指南。 该课程涵盖增长工程方面的专业发展和全栈技术培训。它包括精益产品开发策略、通过测试驱动开发进行的软件质量保证以及持续交付流水线的实现。
Supplies technical strategies for improving site indexing and performance to increase user reach.
Guess is a predictive page loading library that uses machine learning to prefetch JavaScript bundles and assets. It functions as a resource prefetcher that predicts the next page a user will visit by utilizing a web application route parser and a user behavior analytics integrator. The project distinguishes itself by importing navigation patterns from analytics APIs to inform its predictive models. It uses probabilistic navigation modeling and historical transition data to calculate the likelihood of future page visits, allowing for the proactive download of lazy-loaded bundles. The system i
Improves application speed by automatically mapping routes to bundles and proactively downloading necessary code.
Fastdom is a task scheduler and rendering optimizer designed to prevent layout thrashing by batching document reads and writes. It functions as a coordination system that separates document measurements and mutations into distinct queues, ensuring that asynchronous operations are executed in a way that minimizes browser reflows. The project provides a performance profiling capability that detects improper document API access. By enforcing strict execution phases, it identifies layout thrashing bottlenecks and flags unauthorized DOM access occurring outside of the coordinated batching cycles.
Provides a coordination system that optimizes web application performance by batching DOM read and write operations.
imagemin 是一个 Node.js 图像优化和压缩工具,旨在减小图像资产的存储大小。它作为一个构建流水线资产优化器,采用有损和无损压缩来移除不必要的元数据并优化像素数据。 该项目使用基于插件的架构来扩展其功能,加载处理特定图像格式和压缩算法的外部模块。这使得该工具能够作为一个灵活的工具包,用于在开发流水线中自动化图像压缩。 该系统涵盖了广泛的 Web 性能优化功能,包括集成到前端资产流水线和静态站点生成工作流中,以降低带宽消耗并提高页面加载速度。
Reduces image file sizes as a key strategy for improving website loading times and lowering bandwidth consumption.
react-snap 是一个静态站点生成器和单页应用预渲染器。它使用无头浏览器将动态客户端组件转换为静态 HTML 文件,以提高搜索引擎优化(SEO)和初始加载速度。 该项目具有一个无头浏览器爬虫,可以通过跟踪内部链接自动发现应用路由。它包含一个水合(hydration)优化器,可以在渲染过程中捕获应用状态并缓存网络响应,直接将其嵌入到 HTML 中,从而在不重新获取数据的情况下同步客户端应用。 该工具提供了一套性能优化方案,包括关键 CSS 内联、异步脚本加载以及资源清单和预加载头的生成。它还支持跨并发浏览器标签页的并行渲染执行,并可以阻止第三方请求,以防止外部脚本在构建过程中触发。
Optimizes first contentful paint by inlining critical CSS and generating resource preload headers.
sitespeed.io 是一个 Web 性能分析工具和监控系统,旨在测量网站速度和使用真实浏览器的核心 Web 指标(Core Web Vitals)。它作为一个性能回归套件和浏览器性能监控器,能够强制执行性能预算以检测和阻止速度回归。 该项目以其真实设备测试框架而著称,该框架通过 USB 连接在物理 Android 和 iOS 硬件上执行性能审计。它包括一个用于生成和比较 HTTP Archive 文件的专用工具,以诊断网络瓶颈,同时集成了执行 Lighthouse 审计以捕获页面质量和可访问性指标的功能。 该系统涵盖了广泛的功能,包括合成速度审计、网络流量分析和持续性能测试。它提供了用于跟踪设备功耗、估算环境影响以及将时间序列数据导出到外部数据库以进行长期趋势监控的可观测性工具。 测试可以通过命令行界面或使用 JSON 驱动配置的基于 Web 的部署系统进行管理。
Measures website speed and Core Web Vitals using real browsers and automated tests.
Spec 是一套全面的前端编码标准规范和项目架构指南。它提供了一个用于组织目录结构、模块依赖和包布局的框架,以创建可扩展且可预测的代码库。 该项目定义了严格的 React 组件治理标准,包括特定的命名约定和 Props 结构模式。它还建立了 JSON API 数据规范,通过标准化的交换格式和 HTTP 响应结构确保系统组件之间的可预测通信。 该规范涵盖了广泛的功能,包括通过语义化 HTML 和可访问表单控件实现 Web 无障碍合规,以及针对 DOM 操作和资源加载的 Web 性能优化策略。它进一步详细说明了 JavaScript、HTML 和 CSS 的编码风格标准,以在开发团队中保持一致性。
Offers strategies for DOM manipulation, CSS animations, and resource loading to increase rendering speed.
这是一个 NGINX 性能模块和自动页面加速器,可优化网页及相关资源以缩短加载时间。它充当 Web 资源优化器,压缩 CSS 和 JavaScript 并压缩图像以减少总数据传输量。 该系统作为 HTTP 缓存优化器运行,修改缓存 Header 并延长资源生命周期以降低重复下载的频率。它自动应用 Web 性能最佳实践来加速页面加载并提高交付速度。 该项目涵盖了广泛的功能领域,包括前端资源压缩、浏览器缓存管理和 NGINX 服务器调优。它通过推迟非关键资源和内联小资源来处理页面加载加速。
Provides a suite of automatic optimizations to improve web application speed and core delivery metrics.
react-server is a server-side rendering framework for building universal web applications. It serves as a hydration engine and HTML renderer that executes component logic on both the server and the client to synchronize application state. The project focuses on streaming content delivery, allowing page content to be sent to the browser in fragments as they become available. This approach is combined with server-side HTML generation to improve initial load speeds and search engine indexing. The framework also includes capabilities for automated asset bundling and universal component execution
Reduces perceived load times through asset bundling and streaming rendering to improve user experience.