Descripció
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.
Instal·lació
Upload the the plugin, activate it, and you’re done. Congrats, your backend will be faster!
PMF
-
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
. -
Ressenyes
Col·laboradors i desenvolupadors
«Fast Backend» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.
Col·laboradorsTraduïu «Fast Backend» a la vostra llengua.
Interessats en el desenvolupament?
Navegueu pel codi, baixeu-vos el repositori SVN, o subscriviu-vos al registre de desenvolupament per fisl de subscripció RSS.
Registre de canvis
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