[]previous and next page

Limits

Limits in the Configuration with dusk.config.ts guide.

For agentsUpdated
  • The file is read at build time and at server start. In dusk dev a change restarts the dev server by itself (see Development: what hot reloads and what restarts).
  • i18n declares the locales and sets the default <html lang>; URL routing by locale is @shadow-js/i18n.
  • image configures the optimizer: domains and remotePatterns name the hosts and origins it may fetch, widths the widths it serves (deviceSizes for responsive images, default 640 to 3840; imageSizes for small fixed images, default 32 to 384; a list given replaces its default, and the largest width is its maximum), formats the output formats (original, webp, avif, jpeg, png) and qualities the qualities a request may ask for (1 to 100; default [75], so an image has a bounded number of variants: list the others here). A request for anything else is a 400. sizes is the device list under its old name (not together with widths). The processor itself is a function, so it is given in the entry file (images: { processor: sharpProcessor() }), not here.
  • Store operations are atomic within one process. A store shared by several processes needs its own atomic operations, which the KVStore contract does not promise.
  • revalidateTag expires entries now; there is no stale-while-revalidate profile argument.
  • csr: false removes the entry script of a page only. The page's own route modules are still part of the client bundle when another page uses them.