psmb/ajaxify

Last activity 26 Mar 2024 13 5 7456
composer require psmb/ajaxify

Lazily load any content on your Neos site

0.6

Version
0.6
Type
neos-package
Release Date
Mar 28, 2022 13:51
Source
git
Distribution
zip
Requires
  • neos/neos: ^3.0 | ^4.0 | ^5.0 | ^7.0
LGPL-3.0+ f1f466766681897f2bd6c4b360b6c179e7cacb67

Readme excerpt

Psmb.Ajaxify

This package allows you to mark any part of page for asynchronous loading via AJAX with just one line of Fusion code. Why? It helps you to speed up initial page load by delaying the load of some less relevant parts of the page, e.g. comments.

TL;DR
  1. Install the package
composer require psmb/ajaxify
  1. Add @process.myUniqueKey = Psmb.Ajaxify:Ajaxify on any Fusion path. The myUniqueKey key of the processor MUST be globally unique.

  2. Add this anywhere in your Fusion code to include the sample AJAX loading script:

prototype(Neos.Neos:Page).head.ajaxLoader = Psmb.…
Read more
The content of the readme is provided by an external source, which we have no control over. Check out the actual readme at its source.
The same vendor provides 9 package(s).