Home > @lynx-js/rspeedy > Output > dataUriLimit
Output.dataUriLimit property
The Output.dataUriLimit option is used to set the size threshold to inline static assets such as images and fonts.
Signature:
Remarks
The default value of dataUriLimit is 2kB.
Example 1
Inline all static assets less than 4kB:
Example 2
Disable inlining of static assets:
Example 3
Inline all static assets:
Example 4
Disable inlining of all media but not images.
lynx.config.ts

