page-optimize

WordPress plugin to optimize pages for faster load and render in the browser

GPL-2.0 License

Stars
32

Bot releases are hidden (Show)

page-optimize - Limit cached headers Latest Release

Published by aidvu over 4 years ago

Prior to this change, we cached all headers sent before the concatenation
service responds. In most cases, that would be fine because the service
responds very early to the request, but it is technically possible for
another sensitive header to be added prior to response and cached
for sharing with other requesters.

This change removes that possibility by only caching a specific set of
headers.

page-optimize - Major version bump

Published by aidvu over 4 years ago

Which we should've done with the commit that
made service.php WP independent.

page-optimize - Use get_template() to catch child themes

Published by aidvu over 4 years ago

Catch child themes of Divi too.

page-optimize - Don't concat if we're inside Divi Front End Builder

Published by aidvu over 4 years ago

Breaks a bunch of stuff, not easy to debug. Treat as we're in wp-admin.

page-optimize - Update concat service to run without loading WordPress

Published by aidvu over 4 years ago

To increase performance, we are updating our concat service to run without loading WordPress. For this to work, we need to provide real FS paths to the concat script rather than WordPress URIs that need WordPress constants to properly resolve.

By default, we will continue to resolve WordPress resource URIs in the concat service, but we will work from real FS paths when the following constants are defined.

page-optimize - Fix single file cache busting

Published by aidvu over 4 years ago

Use the correct FS resolution function. Wasn't resolving to anything, so no cache busting
appended for single files.

page-optimize - Change how we resolve FS paths per .org review

Published by aidvu over 4 years ago

We submitted this to the plugin directory and received helpful critical feedback.

The plugin doesn't resolve the locations of JS and CSS files in a way that will work with all WordPress installations. The purpose of this PR is to resolve that issue.

Code refactoring to reduce duplication.

page-optimize - Cache cleanup, default JS load mode change, uninstall hook

Published by aidvu over 4 years ago

  • WP Cron job for cleaning up cached files older than 24 hours. They get regenerated on next request after cleanup.
  • Default JS load mode to none. Since we don't defer all the scripts, it breaks a lot of plugins.
  • Purge options on plugin uninstall.
page-optimize - Don't concat/minify in Customizer

Published by aidvu over 4 years ago

Customizer is giving us headaches. Just skip optimizations if we detect it.

page-optimize - Recursively create the `cache` dir

Published by aidvu over 4 years ago

Forgot to create all subdirs, so it fails.

page-optimize - Add default options on activation

Published by aidvu over 4 years ago

  • Default values on activation. Wrapped in functions, so easy to change
  • Exact match exclusion list, instead of finding a substring
  • implode() was used incorrectly

Improved DOM interactive time by a huge margin, because of the exact match excludes. :)

page-optimize - Major version bump.

Published by aidvu over 4 years ago

Bump to 0.1.0 before release.

page-optimize - Caching

Published by aidvu over 4 years ago

  • Add default caching directory
page-optimize - Improve CSS performance

Published by brandonpayton over 4 years ago

This release also contains:

  • Bug fixes
  • Improved settings page appearance
page-optimize - Fix caching to be optional

Published by brandonpayton over 4 years ago

page-optimize - Add optional local caching

Published by brandonpayton over 4 years ago

This release adds optional local caching for testing purposes and eventual use from the .org plugins repo. It does not currently support cache cleanup.

page-optimize - Prepare for publishing in .org repo. Add readme. Fix bug.

Published by brandonpayton over 4 years ago

page-optimize - Initial release

Published by brandonpayton over 4 years ago