Neos Flow WebLink Package.

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0


v1.0.0 2017-11-05 16:53 UTC

This package is auto-updated.

Last update: 2020-06-30 01:12:01 UTC


Latest Stable Version Total Downloads License

WebLink Package for Neo Flow

This Neos Flow package provides methods to manage links between resources and advise clients to preload and prefetch resources through HTTP and HTTP/2 pushes.


You can add a link header in three different ways:

Using the Fusion Prototype

This will output a Html link tag with the given "rel" attribute and set the Http link header for the response.

 link = Vette.WebLink:Link {
      href = ''
      rel = 'preload'

Using the EEL Helper

If you use this EEL helper, make sure the containing Fusion prototype is uncached.

 $href = ${'', 'preload')}

Adding a Link Header via the WebLink Service

  * @Flow\Inject
  * @var WebLinkService
 protected $webLinkService;
 $this->webLinkService->link('', 'preload');