Prestashop Smart Speculation Rules Module Utilizing API Speculation rules to implement speculative loading technology, improve overall site performance.

This means that when customers float or are likely to click on the link, the module loads the target page in the background, making it ready for the loading is almost instant.

This module is beneficial for traders who aim to reduce the level of progress and increase customer involvement by providing a faster, smoother, and smoother search experience.

Note: Rules of Smart Speculation Prestashop are compatible with Multi-Toko Prestashop features.

Features of The rules of intelligent prestashop speculation

  • Using API Speculation rules to predict customer navigation.
  • Improve the performance of websites by reducing page loading time through speculative loading.
  • Supports the prefetch and prerender methods to load resources or make all pages in the background.
  • Choose to trigger speculative loading when customers float on the link.
  • Choose to trigger speculative loading immediately after the page opens.
  • Configure the level of desire for speculative loading to immediately or medium.
  • Determine the maximum url for prefeting per interval.
  • Set the delay time to determine how long the system must wait before starting the speculative loading after the trigger event.
  • Exclude speculative loading from certain pages based on URLs, keywords, and voters.

How to install The rules of intelligent prestashop speculation

  • First, open the module manager at the back office and click ‘Upload Module’.
  • After that, drag and place the module file or select files from the system.
  • In this way, the module installation will succeed.
Preorder installation
Successful installation

After the successful module installation, the new tab “Smart Speculation Rules” are available at the Prestashop back office.

From this tab, the admin can configure general settings and regulatory settings.

The new tab was added to the back office

In general settings, the admin must configure how speculative loading must be applied on the website. Under the general settings, the admin can:

  • Choose speculative action
  • Select the type of speculation trigger
  • Determine the delay time
Prefetch on-hover

Speculation action:

That Speculation action Settings determine the type of speculative loading to do.

i) Prefetch

Prefeting features download resources such as HTML, scripts, images, and stylesheets in the background so they are in -cache and ready when users navigate to the page.

This method is light and resource friendly.

Notes: To check the browser compatibility for Prefeting Features, please click here.

Ii) Prender

The prenderrender feature loads and makes the entire pages in the background, making almost instant navigation.

This approach requires a significant more server resource and can be used for high priority navigation pathways.

Notes: To check the browser compatibility for Prerender Features, please click here.

Prerender feature

Types of Speculation Triggers:

That Types of Speculation Triggers Defines when the speculative loading starts.

i) On-hover

The on-hover feature starts preloading only when users float on the link. This preserves resources by focusing on the link that is most likely to be clicked by customers.

ii) All links needed on the page

This feature starts speculative loading immediately after the page itself contains, preloading all detected links that meet the criteria.

Although this maximizes responsiveness, this can increase the use of bandwidth and server loads.

All links needed on the page

To use All links needed on the page Features, you must adjust the maximum level of desire and URL for prefeting per interval too:

Desire level:

This setting controls how aggressive the browser is speculating. You can choose anyone from the following options:

i) Immediately: The browser starts loading resources immediately after predicting they may be needed. This provides faster performance but consumes more memory and data.

ii) Medium: The browser is waiting or jumping over loading unless it is very possible that the resources will be needed. This preserves memory and data but can slightly reduce the response.

Moderate level of desire

Max url for prefeting per interval:

Admin can determine the maximum number of links to speculate within a certain time frame of this setting.

Notes: For prenderdies, this field has been predetermined by the chrome limit.

Eagle level Prerender
Quick 10
Currently 2 (fifo)
Prender, all links needed on the page

Delay time:

That Delay time The option determines how long the system must wait before starting the speculative loading after the trigger event. Values ​​are defined in milliseconds (MS).

Delay configuration

The rules setting allows the admin to determine specific conditions in which speculative loading should not be applied.

This ensures that unnecessary resources are not loaded for unwanted or irrelevant pages.

Put aside settings

You can exclude speculative loading from certain pages using the following options:

The Blacklist / Url that is ignored: This option allows the admin to determine the right url path that must be excluded from speculative loading.

Keywords do not include url: This option allows the admin to define keywords that, when in the URL, will exclude the appropriate pages from the speculative loading.

Exclude voter compatibility: This option allows the admin to exclude specific elements on the page so as not to be processed for speculative loading, using voters or CSS patterns.

PREFETCH Debug Speculation Rules – Front View

Prefets that are triggered by speculation rules can be seen at Network Panels in the same way as other fetches:

Prefetch debug speculation rules

Clicking one line also shows Sec-Purpose: prefetch HTTP Header, which is how this request can be identified on the server side:

Prefetch debug speculation rules

Debug Prerender with Speculative Load Tab – Front View

A new Speculative load The part has been added at Application Chrome Devtools Panel, below Background service Section, to help in the Speculation rules:

Debug prerender with a speculative load tab

There are three tabs available in this section:

  • Speculative load which includes the prenderous status of the current page.
  • Rule Which includes all the set of rules found on the current page, which is designated as a url or tag of rules, if any.
  • Speculation which includes all prefets and prenderch urls from the set set.

That Speculation The tab includes all target urls, along with actions (prefets or prenderders), which rules they originate (because there may be many on the pages), and the status of each speculation:

Debug prerender with a speculative load tab

This is all about the Module of Prestashop Smart Speculation Rules. I hope this document will help you check the module function in a better way.

Also, tell us about your views in the comments.

For all types of technical assistance or requests, please lift the ticket or send us a letter at [email protected]

Also, please explore our Prestashop Development Services and various kinds of quality Prestashop Addons.

The current product version – 1.0.0

Supported frame version – 9.xx, 8.xx, 1.7.xx


News
Berita
News Flash
Blog
Technology
Sports
Sport
Football
Tips
Finance
Berita Terkini
Berita Terbaru
Berita Kekinian
News
Berita Terkini
Olahraga
Pasang Internet Myrepublic
Jasa Import China
Jasa Import Door to Door

Kiriman serupa