Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 22, 09:30 UTC
perf: lazy load toolkit icons on landing page
Add loading="lazy" and decoding="async" to toolkit icon images so the browser only fetches them as they scroll into view instead of requesting all ~855 icons at once on initial load. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmithamallesh committed
Feb 11, 2026 at 21:08 UTC
fcdd8d5d39e9bafbd2a98c89125af501db594043
2 files changed
+3
-1
docs/bun.lock
+1
-1
@@ -14,7 +14,7 @@
14
"fumadocs-openapi": "^10.2.2",
15
"fumadocs-ui": "^16.4.2",
16
"lucide-react": "^0.562.0",
17
- "mermaid": "^11.4.1",
17
+ "mermaid": "^11.12.2",
18
"next": "16.1.0",
19
"posthog-js": "^1.319.0",
20
"react": "^19.2.3",
docs/components/toolkits/toolkits-landing.tsx
+2
@@ -32,6 +32,8 @@ function ToolkitIcon({ toolkit }: { toolkit: ToolkitSummary }) {
32
<img
33
src={toolkit.logo}
34
alt=""
35
+ loading="lazy"
36
+ decoding="async"
37
className="h-[65%] w-[65%] object-contain"
38
onError={() => setImgFailed(true)}
39
/>