该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Improve Enqueued Asset URLs

描述

TL;DR This plugin will remove query strings from enqueued static resources like CSS & JavaScript urls.

Resources with a question mark (?) or ampersand (&) in the URL often bypass a proxy cache server. Thus by cleansing the query string from the URL should significantly increase your WordPress site performance. The goal is to improve your speed scores in services like PageSpeed, YSlow, Pingdom, LoadImpact.

Additional funcitonality is to strip the protocal prefix to simplify asset loading to be relative to the protocal path. Attempts to force all linked assets to be of the same protocal.

安装

Installing the plugin is easy. Just follow these steps:

  1. From the administration part of your site, navigate to Plugins -> Add New.
  2. Select the “Upload Plugin” button and hit “Choose File.”
  3. When the popup appears select the improve-enqueued-asset-urls-x.x.x.zip file from your desktop. (The ‘x.x.x’ will change depending on the current version number).
  4. Follow the on-screen instructions and wait as the upload completes.
  5. When the upload is finished, activate the plugin via the prompt. A message will show confirming a successful activation.

常见问题

TL;DR This plugin will remove query strings from enqueued static resources like CSS & JavaScript urls.

评价

此插件暂无评价。

贡献者及开发者

“Improve Enqueued Asset URLs” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.2.0

  • added filter to transforms URL to use protocol relative path

1.0.1

  • renamed improved to improve in the plugin

1.0.0

  • Initial launch