Title: CloudFlare Rocket Loader Ignore
Author: jp2112
Published: <strong>30 Tháng 6, 2014</strong>
Last modified: 20 Tháng 8, 2014

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/cloudflare-rocket-loader-ignore.svg)

# CloudFlare Rocket Loader Ignore

 Bởi [jp2112](https://profiles.wordpress.org/jp2112/)

[Tải về](https://downloads.wordpress.org/plugin/cloudflare-rocket-loader-ignore.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/cloudflare-rocket-loader-ignore/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/cloudflare-rocket-loader-ignore/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/cloudflare-rocket-loader-ignore/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/cloudflare-rocket-loader-ignore/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/)

## Mô tả

This plugin tells CloudFlare’s Rocket Loader not to process the given script by 
adding an attribute to the script tag. Per https://support.cloudflare.com/hc/en-
us/articles/200169436–How-can-I-have-Rocket-Loader-ignore-my-script-s-in-Automatic-
Mode-

Disclaimer: This plugin is not affiliated with or endorsed by CloudFlare.

### If you need help with this plugin

If this plugin breaks your site or just flat out does not work, please go to [Compatibility](https://wordpress.org/plugins/cloudflare-rocket-loader-ignore/#compatibility)
and click “Broken” after verifying your WordPress version and the version of the
plugin you are using.

Then, create a thread in the [Support](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore)
forum with a description of the issue. Make sure you are using the latest version
of WordPress and the plugin before reporting issues, to be sure that the issue is
with the current version and not with an older version where the issue may have 
already been fixed.

**Please do not use the [Reviews](https://wordpress.org/support/view/plugin-reviews/cloudflare-rocket-loader-ignore)
section to report issues or request new features.**

## Ảnh màn hình

 * [[
 * Plugin settings page
 * [[
 * HTML source of a webpage showing attribute added to W3TC combined script

## Cài đặt

 1. Upload plugin file through the WordPress interface.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to Settings » CloudFlare Rocket Loader Ignore, configure plugin.
 4. View a page that contains a script tag with one of the scripts you configured, 
    it should contain a “data-cfasync=false” attribute. Other scripts should not.

## Hỏi đáp

  How do I use the plugin?

Go to Settings » CloudFlare Rocket Loader Ignore and insert filenames of .js files
you want the Rocket Loader to not process. Make sure the “enabled” checkbox is checked.
One filename per line.

To exclude specific files, use the full filename including the .js file extension.
You can also match patterns by using only the filename or parts of the filename.
For example, to exclude any .js file containing the name “jquery” (ex: jquery, jquery-
migrate, jquery-ui, etc), simply enter **jquery**. Any .js file that contains the
word “jquery” will be ignored by Rocket Loader.

  I entered some filenames but don’t see any changes on the page.

Are you caching your pages?

  I don’t want the admin CSS. How do I remove it?

Add this to your functions.php:

    ```
    remove_action('admin_head', 'insert_cfrli_admin_css');
    ```

## Đánh giá

![](https://secure.gravatar.com/avatar/27d6168a7bff0f10ec5c569992a85745fccd9cb89798ffcb666ca3b08424f131?
s=60&d=retro&r=g)

### 󠀁[Does exactly what it says!](https://wordpress.org/support/topic/does-exactly-what-it-says-24/)󠁿

 [Dipak C. Gajjar](https://profiles.wordpress.org/dipakcg/) 26 Tháng 9, 2016

This plugin does exactly what it says. It excludes scripts from CloudFlare Rocket
Loader by adding the data-cfasync=”false”. All you need to add the JavaScritp files
you want CloudFlare’s Rocket Loader to ignore. (Ex: jquery-migrate.js to exclude
only that file or ‘jquery’ to exclude any files with the word ‘jquery’ in it.) Kudos
to the developer 🙂

![](https://secure.gravatar.com/avatar/b6c12c3e10de96dfbc2665e189ab83bed1d0e0e0ca3e51f7e4c834510d24d2a4?
s=60&d=retro&r=g)

### 󠀁[exactly what I was looking for!](https://wordpress.org/support/topic/exactly-what-i-was-looking-for-230/)󠁿

 [Earnie Rhyker](https://profiles.wordpress.org/rhyker2u/) 3 Tháng 9, 2016

Last updated 2 years ago, not the best rating, and version 0.0.6 … hmz so had my
doubts about this plugin logically. But it’s EXACTLY what I needed, works fantastic
and great functionality. Fixed my lazy image loading and shortcode problem. While
keeping the best from Cloudflare Rocket Loader combined with W3TC and https://wordpress.
org/plugins/autoptimize/ This plugin really is version 1.0 worthy!

![](https://secure.gravatar.com/avatar/4e14fbbf08cf8c922a6def5e128c56c937a6f9851ba47154c654ba0dfd4efec2?
s=60&d=retro&r=g)

### 󠀁[Fixed My Issues and allowed me to continue using Rocket Loader!](https://wordpress.org/support/topic/fixed-my-issues-and-allowed-me-to-continue-using-rocket-loader/)󠁿

 [Rionoskae](https://profiles.wordpress.org/rionoskae/) 3 Tháng 9, 2016

CloudFlare’s Rocket Loader feature is probably one of the most impactful service
they offer. This plugin finally let me (easily) take advantage of this feature! 
Highly recommended.

 [ Đọc tất cả 10 đánh giá ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/)

## Người đóng góp & Lập trình viên

“CloudFlare Rocket Loader Ignore” là mã nguồn mở. Những người sau đã đóng góp vào
plugin này.

Những người đóng góp

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

[Dịch “CloudFlare Rocket Loader Ignore” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/cloudflare-rocket-loader-ignore)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/cloudflare-rocket-loader-ignore/),
check out [SVN repository](https://plugins.svn.wordpress.org/cloudflare-rocket-loader-ignore/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/cloudflare-rocket-loader-ignore/)
qua [RSS](https://plugins.trac.wordpress.org/log/cloudflare-rocket-loader-ignore/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.0.6

 * updated .pot file and readme
 * fixed error with empty needle in textarea array
 * code to add data-cfasync attribute to combined scripts has been added but not
   implemented yet

#### 0.0.5

 * fixed issue with breaking admin functionality (added is_admin() check)
 * added prelim code to add cfa attribute to inline and combined JS, pending response
   from people in forum (https://wordpress.org/support/topic/not-working-with-multiple-
   script-filenames)

#### 0.0.4

 * added option to switch plugin sentiment from false to true
 * footer scripts also included

#### 0.0.3

 * fixed issue with plugin not handling multiple scripts
 * adjusted code placement per CloudFlare guidelines

#### 0.0.2

 * fixed validation code
 * pattern matching is more precise: code only checks filename for match instead
   of whole string

#### 0.0.1

 * created

## Meta

 *  Phiên bản **0.0.6**
 *  Cập nhật lần cuối **12 năm trước**
 *  Số lượt cài đặt **20+**
 *  Phiên bản WordPress ** 3.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **3.9.40**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/cloudflare-rocket-loader-ignore/)
 * Thẻ
 * [cloudflare](https://vi.wordpress.org/plugins/tags/cloudflare/)[ignore](https://vi.wordpress.org/plugins/tags/ignore/)
   [javascript](https://vi.wordpress.org/plugins/tags/javascript/)[script](https://vi.wordpress.org/plugins/tags/script/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/cloudflare-rocket-loader-ignore/advanced/)

## Đánh giá

 4.2 trên 5 sao.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/?filter=4)
 *  [  2 3-star reviews     ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/reviews/)

## Những người đóng góp

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

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/cloudflare-rocket-loader-ignore/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7EX9NB9TLFHVW)