17 مستودعات
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 هي مكتبة JavaScript لبناء واجهات المستخدم تعتمد على معمارية قائمة على المكونات وتدفق بيانات أحادي الاتجاه.
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 is a client-side navigation enhancer and JavaScript page preloader. It intercepts HTTP requests to update page titles and content via asynchronous requests, avoiding full browser refreshes to eliminate white flashes during navigation. The project reduces perceived frontend latency by fetching linked content in the background when a user hovers over a hyperlink. This intent-based preloading ensures content is ready by the time a user clicks. The tool manages the browsing experience through client-side history manipulation and DOM-based content injection. It also includes a custom
Preloads linked pages on hover to make navigation feel instant without consuming unnecessary bandwidth.
A responsive Material Design theme for static blogs built with the Hexo framework. It functions as a comprehensive layout system that transforms markdown files into styled HTML pages, providing a specialized environment for technical documentation and personal blogging. The theme is characterized by a data-driven approach to content visualization, using radar charts for categories and word clouds for tags to represent post metadata. It further distinguishes its organization by utilizing a chronological timeline architecture for blog archives. The project covers a wide range of technical publ
Optimizes page delivery by preloading essential assets and routing resources through CDNs.
smoothState.js هو مدير تنقل AJAX ومكتبة انتقال صفحة jQuery مصممة لإنشاء انتقالات سلسة بين الصفحات عن طريق تحميل المحتوى عن بُعد بشكل غير متزامن. يعمل كمدير حالة سجل المتصفح الذي يرفق بيانات قابلة للتسلسل مخصصة لإدخالات السجل ويتعامل مع عمليات إعادة توجيه URL دون الحاجة إلى تحديثات كاملة للمتصفح. تتضمن المكتبة ذاكرة تخزين مؤقت للصفحة من جانب العميل تخزن الصفحات التي تمت زيارتها مسبقاً في الذاكرة لإعادة التحميل الفوري. كما تقلل من أوقات التحميل المتصورة من خلال نظام جلب مسبق للمحتوى يبدأ طلبات الشبكة عندما يحوم المستخدم فوق رابط. يوفر المشروع أدوات لإدارة دورات حياة التحميل وتنسيق الرسوم المتحركة أثناء دخول وخروج عناصر الصفحة. كما يسمح باعتراض وتعديل طلبات التنقل والإعدادات قبل جلب المحتوى وحقنه في المستند.
Provides programmatic link prefetching on hover to reduce perceived latency during page navigation.
هذا المشروع عبارة عن تنفيذ لمكونات خادم React، مما يوفر بنية مكونات كاملة المكدس تمزج بين العرض من جانب الخادم والتفاعل من جانب العميل. وهو يتيح تطوير تطبيقات الويب حيث تتعايش المكونات الخاصة بالخادم فقط لجلب البيانات ومكونات العميل التفاعلية داخل شجرة مكونات واحدة. يركز النظام على تنسيق بيانات الخادم-العميل، مما يسمح بتنفيذ دوال الخادم وطفرات قاعدة البيانات عبر حدود الشبكة. ويتميز ببنية مكونات هجينة تنقل تنفيذ المكونات إلى الخادم لتقليل أحجام حزم العميل وتحسين أوقات التحميل الأولية. يغطي المشروع نطاقاً واسعاً من الإمكانيات، بما في ذلك جلب البيانات غير المتزامن مع التعليق (suspense)، وتذكير المكونات التلقائي (memoization)، وتحسين العرض من جانب الخادم. كما يتضمن أدوات لإدارة الحالة المعقدة، وتنسيق تحميل الأصول لمنع تحولات التخطيط، وبناء تطبيقات عبر المنصات للويب والهواتف المحمولة. يتم توفير أدوات المطور لاكتشاف المكونات غير النقية، وتحليل تبعيات الوحدات، وفحص تسلسلات المكونات أثناء التطوير.
Utilizes browser link tags to initiate early network requests for scripts and fonts to reduce latency.
هذا المشروع عبارة عن مرجع تقني ودليل لتحسين أداء تطبيقات Angular. يوفر قائمة مرجعية شاملة لتحسين السرعة والكفاءة من خلال التركيز على تحسين الحزم (bundle)، وأفضل ممارسات العرض، وتنفيذ وقت التشغيل. يغطي الدليل مجموعة واسعة من الميزات بما في ذلك تنفيذ استراتيجيات تطبيقات الويب التقدمية (PWA) من خلال عمال الخدمة (service workers) والتخزين المؤقت دون اتصال. كما يفصل طرق تحسين أوقات التحميل المتصورة باستخدام العرض من جانب الخادم (SSR) وأغلفة التطبيقات. يوفر المستودع توجيهاً حول مجالات إمكانيات أوسع مثل ضبط اكتشاف التغيير، واستخدام عمال الويب (web workers) لتفريغ الحسابات الثقيلة، وإدارة DOM عبر التمرير الافتراضي. كما يغطي تقليل حجم الحزمة من خلال التخلص من الكود غير المستخدم (tree-shaking)، والضغط، وتقسيم الوحدات بالتحميل الكسول.
Loads assets, styles, or modules in the background before they are requested to improve experience.