mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-17 16:15:22 +00:00
13b9f6b07f
* Optimize images using Cloudflare Images * Try skipping middleware * Make it work with base path * Fetch image size * Use a target instead of the cf fetch options * Fix resizing * Start optimizing images * Preload images * Use it for page cover * Format and adapt cover * Fix image resizing serving jpeg * Lazy load dark mode images * Timeout at 2s * Fix iframe CSP * Implement logic to lazy load images that should be offscreen * Also lazy load cover images * Low priority in preloading * Fix csp
324 KiB
Executable File
324 KiB
Executable File