Image Optimization (image-optimization)
Summary
Image sizing, formats, lazy loading, and alt text via HTTP.
Classification
- Category:
PERFORMANCE - Plugin id:
image-optimization - Version:
1.1.1 - Target types:
WEBSITE,WEBSHOP - Weight class:
MEDIUM - Risk level: not set on plugin object
- Browser required: No (HTTP / Node / other — see source)
- Tier / group: Tier 1 — HTTP-only
Schedule
- scheduleHints:
{ defaultInterval: '0 6 * * 1', priority: 7 } - Prerequisites: None declared on this plugin.
Configurable inputs
Public keys are derived from inputSchema: z.object({ ... }) (underscore-prefixed keys are runtime-only and omitted here).
| Field | Notes |
|---|---|
timeout |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
maxImages |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
oversizeThresholdKB |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
crawlDelay |
Zod field in inputSchema — see source for defaults, min/max, and .describe(). |
Runtime / injected config
- Prior throttle metrics may be injected for adaptive politeness.
What it does
- Runs as part of the worker test execution pipeline; results become
Runrows and may createFindingrecords. - Image sizing, formats, lazy loading, and alt text via HTTP.
- For finding titles, metrics, and artifacts specific to this plugin, refer to the implementation linked below.
Source
packages/test-plugins/src/plugins/image-optimization.ts