2017 © Pedro Peláez
 

neos-package flow-web-link

Neos Flow WebLink Package.

image

cvette/flow-web-link

Neos Flow WebLink Package.

  • Sunday, November 5, 2017
  • by cvette
  • Repository
  • 0 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Latest Stable Version Total Downloads License, (*1)

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., (*2)

Usage

You can add a link header in three different ways:, (*3)

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., (*4)

 link = Vette.WebLink:Link {
      href = 'http://foo.bar/x.y'
      rel = 'preload'
 }

Using the EEL Helper

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

 $href = ${Vette.WebLink.link('http://foo.bar/x.y', 'preload')}
 /**
  * @Flow\Inject
  * @var WebLinkService
  **/
 protected $webLinkService;

 ...

 $this->webLinkService->link('http:foo.bar/x.y', 'preload');

The Versions

05/11 2017

dev-master

9999999-dev

Neos Flow WebLink Package.

  Sources   Download

MIT

The Requires

 

http link push performance http2 preload prerender psr13 prefetch dns-prefetch

05/11 2017

v1.0.0

1.0.0.0

Neos Flow WebLink Package.

  Sources   Download

MIT

The Requires

 

http link push performance http2 preload prerender psr13 prefetch dns-prefetch