layout_builder_ajax_blocks
Security covered
This module provides the ability to load blocks that are placed on the page via layout builder to be loaded with Ajax.
This module will override the currently rendered block by added a placeholder. Then javascript loads the fully rendered block and replaces the placeholder.
This can increase performance on your site.
Requirements
Some modules that are provided by core - block, block_content, node, taxonomy, user and views.
Install
Installing through composer is recommended.
Usage
- Modify a layout and configure a block.
- Check the 'Enable Ajax for this block.' checkbox and save.
- Save the layout.
- Visit the page and confirm that the block is loading via ajax.