17 repositorios
Techniques for initiating network requests via browser link tags to populate caches early.
Distinguishing note: Uses browser-native link tags for preloading, distinct from programmatic API-based prefetching.
Explore 17 awesome GitHub repositories matching web development · Resource Preloading. Refine with filters or upvote what's useful.
React es una biblioteca de JavaScript para crear interfaces de usuario basadas en una arquitectura orientada a componentes y un flujo de datos unidireccional.
Uses resource hints to download ESM modules early, reducing latency when resources are required.
SWR is a data fetching library that provides a collection of hooks for managing remote data synchronization, caching, and state updates in web applications. It employs a declarative approach to handle complex network request lifecycles and dependency chains, ensuring that client-side application state remains consistent with server data through automatic revalidation and background updates. The library distinguishes itself through a reactive cache layer that automatically synchronizes local state with remote sources based on component lifecycle events. It features event-driven revalidation, w
Initiates network requests using native browser link tags to populate the cache before JavaScript execution begins.
Fasthttp is a high-performance networking framework for Go, designed to maximize throughput and minimize memory overhead in demanding web applications. It functions as a specialized HTTP server and client library that prioritizes efficient resource management, allowing developers to build scalable services capable of handling massive concurrent traffic with minimal garbage collection pressure. The library distinguishes itself through a focus on zero-allocation processing and low-level optimization. It achieves this by recycling temporary request and response objects through managed pools and
Transmits informational responses to trigger resource preloading while the server prepares final content.
Motion Canvas is a TypeScript-based framework for creating programmatic animations and motion graphics. It functions as a code-based animation tool that allows developers to define visual transitions, element properties, and timing through scripts rather than traditional timeline-based interfaces. The library renders frame-accurate motion graphics directly in the browser using web technologies. The project utilizes a virtual scene graph to manage visual objects and their transformations, which are then rendered to an HTML5 canvas. It employs generator functions to sequence animations and reac
Processes and caches external media resources during the build phase to ensure seamless playback without latency.
react-loadable is a React component lazy loader and JavaScript bundle orchestrator designed to manage the delivery of asynchronous components. It provides a bridge for server-side rendering to coordinate dynamic module preloading and prevent content flicker during client hydration. The project includes a dynamic component preloader to trigger background fetches of visual components before they are required on screen. It utilizes a system to map individual modules to their respective bundles, ensuring the correct assets are delivered. The library covers code splitting workflows and asynchrono
Initiates network requests for JavaScript bundles before the components are required for rendering.
Workbox is a modular library and toolkit designed for managing service workers in progressive web applications. It provides a comprehensive framework for handling asset caching, request routing, and background script lifecycle management, enabling developers to build web applications that function reliably offline and load efficiently. The project distinguishes itself through a declarative routing engine and a plugin-based architecture that allows for the injection of custom logic into the request and response processing pipeline. It supports advanced caching patterns, such as cache-first or
Activates browser-level navigation preloading to reduce latency for network-first requests by fetching resources in parallel.
React is a JavaScript library for building user interfaces through the composition of modular, self-contained components. It employs a declarative programming model where developers describe the desired visual state, and the library automatically manages the underlying document updates and state synchronization. By utilizing a virtual representation of the document, it calculates and applies minimal changes to the browser, ensuring efficient rendering even in complex applications. The library distinguishes itself through a sophisticated scheduling system that manages rendering work in increme
Initiates early network requests for scripts, stylesheets, and fonts to improve page performance.
This repository contains the HTML specification, which defines the core standards for web page structuring, content organization, and document rendering. It establishes the fundamental algorithms for state-machine-based tokenization, tree construction for the document object model, and origin-based security isolation. The specification provides a framework for defining custom elements with independent lifecycles and registries. It also details the requirements for cross-document communication, session history management, and the synchronization of interface properties with content attributes.
Defines the standards for fetching high-priority assets immediately to optimize page loading performance.
Snapdom is a DOM capture engine that serializes live web page elements into images, videos, documents, and other formats. It converts any DOM subtree into PNG, JPG, WebP, SVG, PDF, or self-contained HTML, and can record animating elements as video files or animated GIFs using the browser's MediaRecorder API. The library distinguishes itself through a plugin-based architecture that allows custom output format handlers and pipeline hooks to extend the capture process without re-cloning the source element. It manages separate caches for images, styles, and fonts with preloading and clearing meth
Fetches images, backgrounds, and fonts before a capture to prevent rendering stalls.
Waku is a minimal React framework built around React Server Components. It renders components exclusively on the server for data fetching and server-side logic, then hydrates client components in the browser for interactivity. The framework supports hybrid rendering, mixing static prerendering at build time with dynamic per-request rendering within a single application, and allows independently loading slice components that can be static or dynamic. The framework distinguishes itself through its file-based routing system that defines pages, layouts, and API endpoints by placing files in a dir
Prefetches internal link destinations ahead of navigation to improve page transition speed.
instant.page is a client-side JavaScript library that preloads linked pages on hover or touch interactions, making navigation feel instantaneous without consuming unnecessary bandwidth. It works by starting to fetch a page the moment a user hovers over a link for 65 milliseconds, leaving over 300 milliseconds for the page to load before the click, and similarly preloads on touch start for mobile visitors. The script offers multiple preloading strategies to balance responsiveness with resource conservation. It can be configured to preload on mousedown, when links become visible in the viewport
Preloads linked pages on hover or touch to make navigation feel instant without consuming unnecessary bandwidth.
Tape is a TAP-producing test framework for Node.js that provides assertions, spies, subtests, and isolated test harnesses. It functions as both a test runner and an assertion library, outputting results in the Test Anything Protocol format for machine or human consumption. The framework manages test execution through callback-based async control, plan-based auto termination, and subtest stack isolation. It includes a spy wrapper system that replaces object methods with call-recording wrappers that restore originals during teardown, along with a teardown callback registry that collects and exe
Supports preloading modules via command-line flag for transpiler setup before tests run.
Instantclick es un potenciador de navegación del lado del cliente y precargador de páginas JavaScript. Intercepta solicitudes HTTP para actualizar títulos y contenido de páginas mediante solicitudes asíncronas, evitando recargas completas del navegador para eliminar los parpadeos blancos durante la navegación. El proyecto reduce la latencia percibida del frontend obteniendo contenido enlazado en segundo plano cuando un usuario pasa el cursor sobre un hipervínculo. Este precargado basado en la intención asegura que el contenido esté listo para cuando el usuario haga clic. La herramienta gestiona la experiencia de navegación mediante la manipulación del historial del lado del cliente y la inyección de contenido basada en el DOM. También incluye un indicador de progreso de navegación personalizable que proporciona retroalimentación visual mientras se procesan las solicitudes de página asíncronas.
Preloads linked pages on hover to make navigation feel instant without consuming unnecessary bandwidth.
Un tema responsive de Material Design para blogs estáticos construidos con el framework Hexo. Funciona como un sistema de diseño integral que transforma archivos markdown en páginas HTML estilizadas, proporcionando un entorno especializado para documentación técnica y blogs personales. El tema se caracteriza por un enfoque basado en datos para la visualización de contenido, utilizando gráficos de radar para categorías y nubes de palabras para etiquetas con el fin de representar los metadatos de las publicaciones. Además, distingue su organización mediante una arquitectura de línea de tiempo cronológica para los archivos del blog. El proyecto cubre una amplia gama de capacidades de publicación técnica, incluyendo renderizado de fórmulas matemáticas, resaltado de sintaxis para bloques de código y generación de tablas de contenido adaptativas. Incluye herramientas para la personalización del sitio mediante páginas de inicio dinámicas, menús de navegación multinivel y páginas de perfil detalladas. La interacción del lector se apoya mediante una funcionalidad de búsqueda integrada, publicaciones protegidas por contraseña e integración de sistemas de comentarios y chat de terceros. El rendimiento se gestiona mediante enrutamiento de recursos por CDN y precarga de activos, mientras que la visibilidad en buscadores se gestiona mediante metadatos SEO configurables.
Optimizes page delivery by preloading essential assets and routing resources through CDNs.
smoothState.js es un gestor de navegación AJAX y biblioteca de transiciones de página jQuery diseñada para crear transiciones fluidas entre páginas cargando contenido remoto de forma asíncrona. Funciona como un gestor de estado del historial del navegador que adjunta datos serializables personalizados a las entradas del historial y maneja redirecciones de URL sin requerir recargas completas del navegador. La biblioteca incluye una caché de página del lado del cliente que almacena páginas visitadas previamente en memoria para una recarga instantánea. Reduce aún más los tiempos de carga percibidos a través de un sistema de pre-carga de contenido que inicia solicitudes de red cuando un usuario pasa el cursor sobre un enlace. El proyecto proporciona herramientas para gestionar ciclos de vida de carga y orquestar animaciones durante la entrada y salida de elementos de página. También permite la interceptación y modificación de solicitudes de navegación y configuraciones antes de que el contenido sea recuperado e inyectado en el documento.
Provides programmatic link prefetching on hover to reduce perceived latency during page navigation.
This project is an implementation of React Server Components, providing a full-stack component architecture that blends server-side rendering with client-side interactivity. It enables the development of web applications where server-only components for data fetching and interactive client components coexist within a single component tree. The system focuses on server-client data orchestration, allowing for the execution of server functions and database mutations across the network boundary. It distinguishes itself through a hybrid component architecture that shifts component execution to the
Utilizes browser link tags to initiate early network requests for scripts and fonts to reduce latency.
Este proyecto es una referencia técnica y guía para optimizar el rendimiento de las aplicaciones Angular. Proporciona una lista de verificación integral para mejorar la velocidad y la eficiencia centrándose en la optimización de paquetes (bundles), mejores prácticas de renderizado y ejecución en tiempo de ejecución. La guía cubre una amplia gama de diferenciadores, incluyendo la implementación de estrategias de aplicaciones web progresivas (PWA) a través de service workers y caché offline. También detalla métodos para mejorar los tiempos de carga percibidos utilizando renderizado del lado del servidor (SSR) y shells de aplicación. El repositorio proporciona orientación sobre áreas de capacidad más amplias, como el ajuste de la detección de cambios, el uso de web workers para descargar cálculos pesados y la gestión del DOM mediante desplazamiento virtual (virtual scrolling). También cubre la reducción del tamaño del paquete mediante tree-shaking, minificación y división de módulos de carga perezosa (lazy-loading).
Loads assets, styles, or modules in the background before they are requested to improve experience.