Linux 软件免费装
Banner图

Leverage Browser Caching

开发者 rinkuyadav999
更新时间 2026年7月8日 18:27
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

htaccess browser caching page speed leverage browser caching site speed

下载

2.6 2.7 3.1 2.5 2.4 2.3 3.0

详情介绍:

Leverage Browser Caching is a lightweight, zero-configuration WordPress plugin that dramatically improves your website's loading speed by instructing visitors' browsers to cache static files locally. With a single activation, the plugin writes optimized browser caching rules to your .htaccess file. When you deactivate the plugin, those rules are cleanly removed — leaving your .htaccess exactly as it was. Why Browser Caching Matters Every time a visitor loads a page, their browser downloads CSS, JavaScript, images, and fonts. Without caching, those same files are re-downloaded on every single visit — wasting bandwidth and slowing down your site. Browser caching tells the visitor's browser to store those static files locally for a set period. On their next visit, the browser serves them from its local cache instead of fetching them from the server again. The result: faster page loads, lower server load, and a better user experience. What This Plugin Does Improve Your PageSpeed Score This plugin directly fixes the "Leverage Browser Caching" or "Serve static assets with an efficient cache policy" warning shown by: Cache Expiry Periods | Asset Type | Cache Duration | |---|---| | Images (JPEG, PNG, GIF, WebP, AVIF, SVG, ICO) | 1 Year | | Web Fonts (WOFF, WOFF2, TTF) | 1 Year | | CSS, JavaScript | 1 Month | | HTML, PDF, JSON | 1 Month | | Everything else | 1 Month | Requirements Upgrade to Pro Get even faster load times and more advanced features with Leverage Browser Caching Pro! Upgrade to Leverage Browser Caching Pro today!

安装:

Option 1: Install via WordPress Dashboard (Recommended)
  1. Go to Dashboard → Plugins → Add New.
  2. Search for Leverage Browser Caching.
  3. Click Install Now, then click Activate.
  4. That's it — the plugin is working immediately.
Option 2: Upload via WordPress Dashboard
  1. Download the plugin ZIP from: https://wordpress.org/plugins/leverage-browser-caching/
  2. Go to Dashboard → Plugins → Add New → Upload Plugin.
  3. Select the downloaded ZIP file and click Install Now.
  4. Click Activate Plugin.
Option 3: Upload via FTP
  1. Download the plugin ZIP from: https://wordpress.org/plugins/leverage-browser-caching/
  2. Extract the ZIP to find the leverage-browser-caching folder.
  3. Upload the folder to /wp-content/plugins/ on your server.
  4. Go to Dashboard → Plugins, find the plugin, and click Activate.

升级注意事项:

3.1 Important update: browser caching rules are now only written to .htaccess on plugin activation and removed on deactivation. Modern MIME types added. Upgrade recommended for all users. Simply deactivate and then activate the plugin for Modern MIME types.

常见问题:

Do I need to configure anything after activating?

No. The plugin is completely zero-configuration. Simply activate it and it starts working immediately.

What happens when I deactivate the plugin?

The plugin cleanly removes all caching rules it added to .htaccess. Your file will be restored to its previous state with no leftover code.

Some third-party JavaScript files still show as uncached — why?

Browsers can only cache files served from your own domain. Files loaded from third-party domains (e.g., Google Analytics, Facebook Pixel, or ad networks) are outside your control and cannot be cached by your server's .htaccess. This is a browser security restriction. Learn more.

My PageSpeed score improved but still shows a warning — what should I do?

Remaining warnings are almost always caused by third-party scripts (see above). For files on your own domain, ensure the plugin is activated and that your .htaccess is writable. You can verify by checking your .htaccess file for the # LBROWSERCSTART Browser Caching block.

Where can I find the options page?

There is no options page — the plugin works automatically with no settings to configure.

Does this plugin work on Nginx or Windows IIS servers?

No. This plugin works exclusively on Apache web servers by writing directives to .htaccess. It has no effect on Nginx or IIS. For Nginx, caching headers must be configured at the server level.

I need support

Please open a support topic on the WordPress.org support forum.

更新日志:

3.1 3.0 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.9 1.8 1.7 1.6 1.5 1.4 1.3 1.2 1.1 1.0