Linux 软件免费装
Banner图

Image Preloading

开发者 snowbedding
更新时间 2025年11月11日 02:16
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

speed performance photos image gallery javascript optimization loading prefetch preload

下载

1.0.0 2.0.0

详情介绍:

Image Preloading is a powerful WordPress plugin that helps improve your website's performance by preloading images in the background. This results in faster page loading experiences, especially beneficial for photo galleries, image-heavy sites, and e-commerce stores. Features Preloading Methods
  1. JavaScript Method: Uses modern JavaScript with Promise-based image loading. Compatible with all browsers.
  2. Link Preload: Uses HTML <link rel="preload"> tags for modern browsers with native preloading support.
  3. Both Methods: Combines both approaches for maximum compatibility and performance.
Use Cases

安装:

Automatic Installation
  1. Log in to your WordPress admin dashboard
  2. Navigate to Plugins > Add New
  3. Search for "Image Preloading"
  4. Click Install Now
  5. Activate the plugin
Manual Installation
  1. Download the plugin ZIP file
  2. Upload the plugin files to /wp-content/plugins/image-preloading/
  3. Activate the plugin through the Plugins menu in WordPress

屏幕截图:

  • **HTML code of preloading**
  • **Preloading waterfall**

升级注意事项:

2.0.0 This version includes major improvements and requires WordPress 5.0+. All settings will be preserved during upgrade.

常见问题:

How does image preloading work?

Image preloading loads images in the background before they are needed, so when users navigate to pages containing these images, they appear instantly instead of loading progressively.

Which preloading method should I choose?

  • JavaScript: Best for compatibility with all browsers
  • Link Preload: Best performance for modern browsers
  • Both: Recommended for maximum compatibility and performance

Can I preload images from external domains?

Yes, but ensure the external server allows cross-origin requests. The plugin properly handles CORS headers.

How many images can I preload?

There's no strict limit, but keep in mind that preloading too many large images can impact initial page load performance. Use judiciously.

Does this work with caching plugins?

Yes, the plugin works well with caching plugins and can complement them by ensuring images are cached even before they're viewed.

更新日志:

2.0.0 1.0.0