Prevent Back-End Rendering
This feature is experimental. We can’t guarantee it will work in all use cases, so please test thoroughly before using this in production.
The main advantage to using this approach is that the search result page will not be rendered on the server before sending it to the user. This means the server will respond faster and with a smaller footprint, which has a positive effect on loading times and user experience. Because of this, the server will also consume less resources to handle the response.
This can be prevented.
Crawlers can be identified on the server by looking at the
User-Agent header. Almost all crawlers have a unique value, that normal users would not have.
The extension will, by default, turn on back-end rendering for Googlebot and Bingbot.
To prevent back-end rendering, navigate to System > Configuration > Algolia Search > Advanced in the Magento admin section. This tab contains a setting called Prevent back-end rendering?, which can be switched to Yes to activate this feature.
When this setting is set to yes, a list of User-Agents can be filled in for which the back-end rendering should still be enabled. By default, the list contains “Googlebot” and “Bingbot”.
Behind the scenes
With this feature enabled, the extension will remove the template blocks from rendering through the extensions’ layout XML file.
The following blocks will be removed from the
The following containers will be removed from the template: