Skip to content

Re-Use the same faker imports for api-docs and locale-docs #3690

@ST-DDT

Description

@ST-DDT

Clear and concise description of the problem

Currently, the api-code examples and browser console use one set of faker for execution, while the locale docs use a different one.
This causes additional delay on mobile, especially since the embedded 1MB download appears to be exempt from cache.

Suggested solution

Use the same download for both.

Alternative

Calculate the example values at docs build time, since they cannot be refreshed by the user.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: docsImprovements or additions to documentationc: featureRequest for new features: waiting for user interestWaiting for more users interested in this feature

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions