psmb/ajaxify

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

Lazily load any content on your Neos site

1.0

Version
1.0
Type
neos-package
Release Date
Mar 26, 2024 22:40
Source
git
Distribution
zip
Requires
  • neos/neos: ^7.0 | ^8.0
LGPL-3.0+ 8f69ce8b908c618d803479dec94bfb522d72a2e9

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 13 package(s).