Skip to content

SImple WordPress plugin which let you to preload or prefetch resources like font , css , js or media files

Notifications You must be signed in to change notification settings

JosephSafarzade/js-preload-resources

Repository files navigation

Preload & Prefetch Resources

Contributors: Joseph Safarzade

Requires at least: 6.0

Tested up to: 6.4.3

Stable tag: 1.0.0

Requires PHP: 7.4

License: GPLv3

Simple Plugin Which Let You Preload or Prefetch Resources Like CSS , JS , Fonts or Media Files Globally or Per Page to improve your website speed

Description

This plugin provide 2 model of preload and prefetch functionality , if you wan to know more about preloading resource please check ( https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/preload )

First method - Global resources :

In admin panel setting submenu you can find preload resources setting page and there you can define up to 10 resource which you want to preload globally on your website without any conditions , this can be used for resources like google font which are loaded everywhere

Second method - Post setting :

When creating any kind of post type you will see a metabox which have same setting as global resources which let you define up to 10 resource to preload only when users visit this post , things like images , audio , video can be used in this method

Installation

  1. Install Preload & Prefetch Resources either via the WordPress.org plugin repository or by uploading the files to your server. (See instructions on how to install a WordPress plugin)

  2. Activate Preload & Prefetch Resources.

  3. Navigate to the Settings area of Preload & Prefetch Resources in admin panel setting menu or define a new post or page to have post base setting.

  4. Need more help? Contact me by sending email to [email protected]

About

SImple WordPress plugin which let you to preload or prefetch resources like font , css , js or media files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published