Fast Backend

外掛說明

Do you think the WordPress backend is too slow? Good news, this plugin will improve the speed of your WordPress Admin backend by some efficient tweaks.

  • Native Lazy Loading of Images in the backend
  • Reduced WordPress Heartbeat
  • Less autosaving of posts
  • Loading of plugin stylesheets in the footer

“Fast Backend” will only have affects to the Admin area of WordPress and won’t have any impact on your theme.

Native Lazy Loading of Images

The plugin adds loading=”lazy” attributes to images if missing to take advantage of native lazy loading.

Reduced WordPress Heartbeat

Usually the WordPress heartbeat is every 15 seconds. The plugin extends the time period to 45 seconds.

Autosaving every 2 minutes

Instead of autosaving posts every 60 seconds, we’ll do this only every 120 seconds.

Loading of plugin stylesheets in the footer

The plugin moves plugin stylesheets to the bottom of the page to prevent them to block rendering.

安裝方式

Upload the the plugin, activate it, and you’re done. Congrats, your backend will be faster!

常見問題集

Do I need to configure anything?

No. “Fast Backend” is very lightweight. It has no settings, just activate it and it works immediately.

As a developer, can I influence how the plugin works?

Yes, you can! “Fast Backend” provides several hooks to configure the loading of stylesheets in the backend.

By default “Fast Backend” moves all plugin stylesheets into the footer to improve loading performance.

But sometimes you might want to adjust that. Therefore you are free to move stylesheets where you need them.

And more than that. You are even free to move all stylesheets (not just plugin stylesheets) into the <head>, the bottom of the <body>, lazy load them or even remove them entirely.

Available hooks:

  • fast_backend_stylesheets_in_head

    Configure the stylesheets that should be moved into the <head>.

    You can use this filter to move individual plugin stylesheets into the <head> that by default would be loaded at the bottom.

    Example:

    add_filter( 'fast_backend_stylesheets_in_head', function ($stylesheet_ids) { return $stylesheet_ids; });
    
  • fast_backend_stylesheets_in_footer

    Configure the stylesheets that should be moved to the bottom of the <body>.

    You can use this filter to move non-plugin stylesheets (e.g. theme or even core stylesheets) to the bottom.

    Example:

    add_filter( 'fast_backend_stylesheets_in_footer', function ($stylesheet_ids) { return $stylesheet_ids; });
    
  • fast_backend_stylesheets_lazy_load

    Configure the stylesheets that should be lazy loaded after page load.

    You can use this filter to lazy load stylesheets that are not essential for page load.

    Example:

    add_filter( 'fast_backend_stylesheets_lazy_load', function ($stylesheet_ids) { return $stylesheet_ids; });
    
  • fast_backend_stylesheets_remove

    Configure the stylesheets that should not be loaded at all.

    You can use this filter to remove stylesheets that are added by plugins or themes that are not used in your setup.

    Example:

    add_filter( 'fast_backend_stylesheets_remove', function ($stylesheet_ids) { return $stylesheet_ids; });
    

For more details please refer to the code documentation in the fast-backend.php.

使用者評論

2021 年 4 月 12 日
Does what it says, and does not have unnecessary features. Follows the traditional decisions not options philosophy. Pity more plugins are not lik
閱讀全部 0 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Fast Backend〉的開發相關工作。

參與者

將〈Fast Backend〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.5.1

  • Fixed: Account for escaping in inline scripts

1.5

  • Added: Support custom locations of the wp_content directory
  • Added: fast_backend_stylesheets_in_head filter
  • Added: fast_backend_stylesheets_in_footer filter
  • Added: fast_backend_stylesheets_lazy_load filter
  • Added: fast_backend_stylesheets_remove filter

1.4

  • Added: Loading of plugin stylesheets in the footer
  • Fixed: Prevent multiple loading attributes for images

1.3

  • No lazy loading when creating new post

1.2

  • Disabled native Lazy Loading in Gutenberg Editor

1.1

  • Improved Lazy Loading in Media Library

1.0

  • Initial release.
  • Native Lazy Loading of Images
  • Reduced Heartbeat
  • Less Autosaving