Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Prefetch visible links

Apraksts

After loading the page, the plugin starts to follow the user’s screen. And as soon as a link appears on the screen within your site – the browser executes the request and downloads it. Now that the user clicks on the link, the browser will instantly display a new cache page. Thus, User Experience will indicate that your site is loading instantly.

How it work

The plugin uses the built-in browser features to predict user behavior for preloading the tourniquet. See this

API

The plugin also registers a global feature that you can use to preload any URL:

window.prefetch('https://example.com/custom/page')

Uzstādīšana

This section describes how to install the plugin and get it working.

e.g.

  1. Upload prefetch/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Change container selector in Reading settings

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“Prefetch visible links” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

“Prefetch visible links” ir tulkots lokalizācijā 1. Paldies tulkotājiem par ieguldījumu.

Tulkot “Prefetch visible links&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.