Dependency Minification
This plugin takes all scripts and stylesheets that have been added via wp_enqueue_script and wp_enqueue_style and automatically concatenates and minifies them into logical groups. For example, scripts in the footer get…
Betrachten Sie eine Alternative
Dependency Minification shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 4/5 and was last updated 12 years ago, and scores 32/100 on our health check.
- Kleine Benutzerbasis (20+ aktive Installationen)
- Kein Update in 11 Jahren
- Nur getestet bis WordPress 3.7 (letzt ist 7.1)
Wie stapelt es sich?
Side-by-side bei Installationen, Updates, Bewertungen und SupportTägliche Downloads
Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.
Ranglisten
Where Dependency Minification stands todayWordPress.org Ranglisten suchen
Live-Position in der Plugin-Suche, Top 100| Stichwort | Position |
|---|---|
| compress | >100 |
| concatenate | #43 |
| dependencies | >100 |
| minify | >100 |
| Performance | >100 |
Versionsübernahme
Anteil aktiver Sites pro Release.
Bewertungsaufschlüsselung
★★★★★★★★★★ 4 from 11 reviews
About Dependency Minification
From the official readme · v0.9.8Beschreibung
This plugin takes all scripts and stylesheets that have been added via wp_enqueue_script and wp_enqueue_style
and automatically concatenates and minifies them into logical groups. For example, scripts in the footer get grouped
together and styles with the same media (e.g. print) get minified together. Minification is done via WP-Cron in order
to prevent race conditions and to ensure that the minification process does not slow down page responses.
This is a reincarnation and rewrite of the Optimize Scripts plugin,
which this plugin now supersedes.
Eigenschaften:
- Minified sources are stored in the WP Options table so no special filesystem access is required.
- Endpoint for minified requests is at
/_minified, which can be configured. - Admin page for taking inventory of minified scripts and stylesheets, with methods for expiring or purging the cached data.
- Dependencies which must not be minified may be excluded via the
dependency_minification_excludedfilter. - Dependencies hosted on other domains are by default excluded, but this behavior can be changed by filtering the
default_exclude_remote_dependenciesoption via thedependency_minification_optionsfilter, or on a case-by-case basis via the filter previously mentioned. - By default excludes external scripts from being concatenated and minified, but they can be opted in via the
dependency_minification_excludedfilter. - The length of time that a minified source is cached defaults to 1 month, but can be configured via the
cache_control_max_age_cacheoption. - If a minified source is not available yet, the page source will note that the dependency minification process is pending.
- Any errors that occur during minification will be shown on the frontend in comments if the
show_error_messagesoption is enabled; such errors are enabled by default ifWP_DEBUG. - If the minification process errors out, the original unminified sources are served and the error is cached for 1 hour (by default, configured via
cache_control_max_age_error) to prevent back-to-back crons from continually attempting to minify in perpetuity. - Cached minified sources are served with
Last-ModifiedandETagresponses headers and requests will honorIf-None-MatchandIf-Modified-Sinceto return304 Not Modifiedresponses (configurable via theallow_not_modified_responsesoption). - Data attached to scripts (e.g. via
wp_localize_script) is also concatenated together and attached to the newly-minified script. - WP-Cron is utilized to initiate the minification process in order to prevent race conditions, and to ensure that page responses aren’t slowed down.
- Stale minified scripts and stylesheets remain until replaced by refreshed ones; this ensures that full-page caches which reference stale minified sources won’t result in any 404s.
- Can serve compressed responses with
gzipordeflate. - Transforms relatives paths in stylesheets (e.g. background-images) to absolute ones, so that they don’t 404.
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.
If you are using Nginx with the default Varying Vagrant Vagrants config, you’ll want to remove css|js from this rule in nginx-wp-common.conf (or remove the rule altogether):
# Handle all static assets by serving the file directly. Add directives
# to send expires headers and turn off 404 error logging.
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 24h;
log_not_found off;
}
Änderungsprotokoll
0.9.8
- Fix rewrite rule broken by filtering home_url (#49). Props c3mdigital.
- Switch from JSMin to JSMinPlus due to repeated issues with JSMin causing execution timeouts.
- Update plugin to indicate WordPress 3.8 compatibility.
- Fix expire and purge links.
0.9.7
Improve how the plugin guesses the sources’ absolute paths (#34). Props alex-ye.
0.9.6
Improve network activation and deactivation (#37). Props kucrut.
0.9.5
Fix wp_localize_script data lost in minification (#28). Props lkraav.
0.9.4
Issue warning if pretty permalinks are not enabled (#16). Props shadyvb.
0.9.3
Prevent default built-in scripts from breaking minification groups (#9). Props shadyvb.
Für Entwickler
Ist das dein Plugin? Zeigen Sie die Zahlen.
Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.
Best Dependency Minification alternatives
All compress plugins →Fragen und Antworten
Dependency Minification: quick answers
Gerade Antworten, gezogen von Live WordPress.org Daten.
Quelle: WordPress.org
Is Dependency Minification free?
Yes. Dependency Minification is free to download and use from the official WordPress.org plugin directory.
Is Dependency Minification safe to use in 2026?
Dependency Minification shows warning signs in 2026 — compare the alternatives below before installing. It runs on 20+ sites, is rated 4/5 and was last updated 12 years ago, and scores 32/100 on our health check.
How many websites use Dependency Minification?
Dependency Minification is active on 20+ WordPress websites and has been downloaded 17,637 times since it launched in August 2013. It was downloaded 58 times in the last 30 days.
Does Dependency Minification work with WordPress 7.1?
Dependency Minification is officially tested up to WordPress 3.7.41, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Dependency Minification last updated?
The latest version, 0.9.8, was released on February 25, 2015 (12 years ago).
Who makes Dependency Minification?
Dependency Minification is developed and maintained by Weston Ruter.
What are the best alternatives to Dependency Minification?
The most popular alternatives to Dependency Minification are EWWW Image Optimizer (1M+ installs), Minify HTML (10K+ installs) and Cimo (10K+ installs).
Angetrieben von PageForge
Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.
PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.
- CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
- seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
- Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
- Kostenlos auf WordPress.org, keine Kreditkarte
