Aggregates Javascript files to a footer and header file.
Author: | Palasthotel (Edward Bock) (profile at wordpress.org) |
WordPress version required: | 4.8 |
WordPress version tested: | 5.3.17 |
Plugin version: | 2.1.2 |
Added to WordPress repository: | 05-06-2015 |
Last updated: | 04-12-2019
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | |
Total downloads: | 2 158 |
Active installs: | 10+ |
Click to start download
|
It’s best practise to have only a very few page requests. This plugin aggregates all your local JavaScript files to two requests only.
Arbitrary section
ChangeLog
2.1.2
- PHP 7.3 compatibility update
2.1.1
- only add aggregated file if not empty
- tiny refactorings
2.1
- additional attributes for script tags
2.0.4
- localize scripts on wp_print_scripts action fix
2.0.3
- main php file rename
- external scripts with https:// and // fix aggregation fix
2.0.2
- typos fixed (hook name and html comments)
2.0.1
- rerender on javascript content file changes
2.0
- we can handle different aggregation combinations now
- scripts need to be rerendered
- Hook
ph_aggregator_ignore
is marked as deprecated, please make sure to update your code to use the new hook aggregator_ignore
, which provides a js handle argument.
1.1.4
- added try catch blocks around each javascript file to prevent script execution after an error
1.1.3
- wp_enqueue with aggregated files time as version
1.1.2
- get correct working theme directory
1.1.1
- default to uploads
- theme slug for aggregated scripts
1.1
- aggregated location configuratable
- object orientation implemented
1.0.8
- localization data for aggregated scripts fix
1.0.7
- dequeue wrong scripts fix
1.0.6
1.0.5
- aggregated folder in plugin deprecated
1.0.4
- aggregation to theme directory
1.0.3
- when to aggregate optimization
1.0.2
- aggregate to subfolder to prevent deployment issues
1.0.1
- Separate logged in and logged out aggregation
1.0
- First release
- aggregates JavaScript files