Title: WP Resources URL Optimization
Author: litefeel
Published: <strong>2012 年 11 月 28 日</strong>
Last modified: 2017 年 4 月 4 日

---

搜索插件

![](https://ps.w.org/wp-resources-url-optimization/assets/banner-772x250.jpg?rev
=631018)

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

![](https://s.w.org/plugins/geopattern-icon/wp-resources-url-optimization_e0e0e0.
svg)

# WP Resources URL Optimization

 作者：[litefeel](https://profiles.wordpress.org/litefeel/)

[下载](https://downloads.wordpress.org/plugin/wp-resources-url-optimization.1.6.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-resources-url-optimization/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-resources-url-optimization/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-resources-url-optimization/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-resources-url-optimization/#developers)

 [支持](https://wordpress.org/support/plugin/wp-resources-url-optimization/)

## 描述

WP Resources URL Optimization is a WordPress plugin optimized browser cache,
 it
will greatly enhance the website page display speed and reduce the pressure of the
server to handle static files. Default wp added after the static files the query
string(version number) to ensure that the static files are modified immediately 
after the performance to the browser (front-end), this way there is a drawback: 
the browser will request the server regardless of whether the file is modified, 
If the file has been modified it will download the new file, if the file has not
been modified http status code 304 is returned to inform the browser reads the local
cache. The goal of the plugin: do not have to re-initiate the request to the server,
and directly read the browser cache when the file has not been modified.

Related Links:

 * [Plugin Homepage](https://www.litefeel.com/wp-resources-url-optimization/)
 * [Author Homepage](https://www.litefeel.com/)
 * [on GitHub](https://github.com/litefeel/wp-resources-url-optimization)

## 安装

#### Using the WordPress Dashboard

 1. Navigate to the ‘Add New’ in the plugins dashboard
 2. Search for ‘WP Resources URL Optimization’
 3. Click ‘Install Now’
 4. Activate the plugin on the Plugin dashboard

#### Uploading in WordPress Dashboard

 1. Download `wp-resources-url-optimization.zip` from the WordPress plugins repository.
 2. Navigate to the ‘Add New’ in the plugins dashboard
 3. Navigate to the ‘Upload’ area
 4. Select `wp-resources-url-optimization.zip` from your computer
 5. Click ‘Install Now’
 6. Activate the plugin in the Plugin dashboard

#### Using FTP

 1. Download `wp-resources-url-optimization.zip`
 2. Extract the `wp-resources-url-optimization` directory to your computer
 3. Upload the `wp-resources-url-optimization` directory to the `/wp-content/plugins/`
    directory
 4. Activate the plugin in the Plugin dashboard

## 常见问题

  The plugin will affect what files?

The plug-in will modify the css and js file url used in the css sprite technology,
the picture address are also taken to modify, while ensuring css work properly.

  Why is the plugin is enabled, js and css url did not change?

Please ensure that js and css files added by use wp_enqueue_script and wp_enqueue_style
method.

  My css file has css sprite technology, the picture will load properly?

Yes, The plug has been considered the problem of the sprite.

  When I want to modify some files, which files I need to modify?

Please modify the original file, not automatically generated files.

  When I want to add some files, Do i need to add a version number?

No. The plugin will automatically generate a new files when the file modified.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Resources URL Optimization」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ litefeel ](https://profiles.wordpress.org/litefeel/)

[帮助将「WP Resources URL Optimization」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-resources-url-optimization)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-resources-url-optimization/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/wp-resources-url-optimization/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/wp-resources-url-optimization/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-resources-url-optimization/)。

## 更新日志

#### 1.6

 * Transfer ownership

#### 1.5.1.2

 * Tested up to 4.4

#### 1.5.1.1

 * Tested up to: 4.0

#### 1.5.1

 * Tested up to: 3.9.1

#### 1.5.0

 * New: add config for only remove query string.

#### 1.4.3

 * Compatibility check for 3.6, nothing new, just bump version to tell everyone 
   this plugin still works.

#### 1.4.2

 * Fixed: Displays an warning when the resources is not file.

#### 1.4

 * Fixed: Displays an error when you first install the plugin.

#### 1.3

 * New: Automatically delete the older version of the backup file.

#### 1.2.2

 * Fixed: ignore log trace.

#### 1.2.1

 * Fixed: Fix wrong css sprite url.

#### 1.2

 * Fixed: Fix Not working when WordPress Address and Site Address are not the same.
 * Modify: Move all back files to ‘{WordPress Address}/wp-content/wp-resources-back/’
   directory.

#### 1.1

 * Fixed: Fix ‘File_exists’ of warning when the css sprite is relative path.

#### 1.0

 * Initial public release.

## 额外信息

 *  版本 **1.6**
 *  最后更新：**9 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 3.0.0 或更高版本 **
 *  已测试的最高版本为 **4.7.33**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-resources-url-optimization/)
 * 标签
 * [optimization](https://cn.wordpress.org/plugins/tags/optimization/)[plugins](https://cn.wordpress.org/plugins/tags/plugins/)
   [resources](https://cn.wordpress.org/plugins/tags/resources/)[script](https://cn.wordpress.org/plugins/tags/script/)
   [style](https://cn.wordpress.org/plugins/tags/style/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-resources-url-optimization/advanced/)

## 评级

 3.7 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-resources-url-optimization/reviews/)

## 贡献者

 *   [ litefeel ](https://profiles.wordpress.org/litefeel/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-resources-url-optimization/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/litefeel)