Skip to content

Update/performance #866

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 6, 2025
Merged

Update/performance #866

merged 4 commits into from
Jan 6, 2025

Conversation

arunshenoy99
Copy link
Member

Proposed changes

Auto Optimize Newly Uploaded Images:

When enabled, all newly uploaded images will be automatically optimized to WebP.

Auto.Optimize.Uploaded.Images.mp4

Bulk Optimization of Uploaded Images:

When enabled, all images in the media library can be bulk selected and optimized to WebP.

Bulk.Optimization.of.Images.mp4

Prevent Auto Deletion of Original Images:

By default, the original versions of the optimized images are deleted. Users can choose to disable this behavior.

Prevent.Auto.Delete.of.Images.mp4

Lazy Loading of Images:

Images will be lazy-loaded, meaning they will load just in time as they are about to appear in the viewport.

Lazy.Loading.mp4

Prefer WebP When it Exists:

When the original images are automatically deleted, any references to them will be redirected to the new optimized images. If the original images are not deleted and still exist, the WebP versions will be served automatically.

Prefer.WebP.When.Exists.mp4

Mark Optimized Images

Optimized images will be marked as "Optimized" to avoid confusion with their original versions.

image

Type of Change

Production

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update
  • Refactoring / housekeeping (changes to files not directly related to functionality)

Development

  • Tests
  • Dependency update
  • Environment update / refactoring
  • Documentation Update

Video

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@arunshenoy99 arunshenoy99 changed the base branch from main to release/2.12.5 January 2, 2025 11:59
Copy link

cypress bot commented Jan 2, 2025

HostGator Plugin    Run #5589

Run Properties:  status check passed Passed #5589  •  git commit 5ef3c9bd05 ℹ️: Merge dd6df7ba9d85817d6f43975aeffe31655afc28b0 into 5c2114783e2d38735affde135685...
Project HostGator Plugin
Branch Review update/performance
Run status status check passed Passed #5589
Run duration 27m 51s
Commit git commit 5ef3c9bd05 ℹ️: Merge dd6df7ba9d85817d6f43975aeffe31655afc28b0 into 5c2114783e2d38735affde135685...
Committer Arun Shenoy
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 28
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 316
View all changes introduced in this branch ↗︎

Copy link

cypress bot commented Jan 2, 2025

HostGator Plugin    Run #5590

Run Properties:  status check passed Passed #5590  •  git commit 2790e13745: Merge branch 'update/performance' of https://github.com/newfold-labs/wp-plugin-h...
Project HostGator Plugin
Branch Review update/performance
Run status status check passed Passed #5590
Run duration 27m 25s
Commit git commit 2790e13745: Merge branch 'update/performance' of https://github.com/newfold-labs/wp-plugin-h...
Committer arunshenoy99
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 28
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 316
View all changes introduced in this branch ↗︎

@arunshenoy99 arunshenoy99 mentioned this pull request Jan 2, 2025
14 tasks
@wpscholar wpscholar requested a review from circlecube January 6, 2025 18:15
@circlecube circlecube merged commit 6248bac into release/2.12.5 Jan 6, 2025
3 checks passed
@circlecube circlecube deleted the update/performance branch January 6, 2025 18:43
@circlecube circlecube added this to the January 8, 2025 Release milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants