Edit on GitHub
Jump to docs navigation

Twig Components / Methods / prerender

prerender(uri, attributes = []) is a Twig function to identify a resource that might be required by the next navigation, and that the user agent should fetch and execute, such that the user agent can deliver a faster response once the resource is requested later.

Source: Symfony

Edit this page on GitHub
Couldn't find what you were looking for? We are happy to help you in the forum, on Slack or on Github.