Code Monkey home page Code Monkey logo

core-web-vitals-pagespeed-booster's Introduction

=== Core Web Vitals & PageSpeed Booster ===
Contributors: magazine3
Requires at least: 3.0
Tested up to: 6.5
Stable tag: 1.0.19
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: core web vitals, optimization, pagespeed, performance, cache

== Description ==
<h4>Core Web Vitals (CWV) is the new ranking factor</h4>

Google announced that "Core Web Vitals" are going to be a significant ranking signal for websites. In fact, Core Web Vitals or the page experience signal is going to become a requirement for a page to appear in Google's Top Stories.

### Features

* <strong>Flush Cache</strong>: Using this option you can choose on which events ( Wordpress Update,Switching Theme,Post/Page Deletion )  you want to clear website cache. 
* <strong>Auto Clear Cache</strong>: Clear you website on regular intervals , this helps you to keep your website cache updated. 
* <strong>Webp images</strong>: If images are slowing down your website, then converting them to WebP format can improve your page load speed test scores. 
* <strong>Lazy Load</strong>: Lazy loading allows your website to only load images when a user scrolls down to a specific image, which reduces website load time and improves website performance.
* <strong>Minification</strong>: If you are trying to achieve 100/100 score on Google Pagespeed or GTMetrix tool, then minifying CSS and JavaScript will significantly improve your score.
* <strong>Remove Unused CSS</strong>:Unused CSS is any CSS code added by your WordPress theme or plugins that you don’t really need. Removing this CSS code improves WordPress performance and user experience.
* <strong>Google Fonts Optimizations</strong>: You may start noticing external resources like fonts affecting Google PageSpeed + load times. This is where loading Google Fonts locally comes into play.
* <strong>Delay JavaScript Execution</strong>:You can delay JavaScript based on user interaction. This can be a great way to speed up the paint of the page for Google PageSpeed when something isn't needed right away. Especially heavy third-party scripts like Google Adsense, Google Analytics etc.
* <strong>Cache</strong>: Caching is one of the most important and easiest ways to speed up WordPress! it reduces the amount of work required to generate a page view. As a result, your web pages load much faster, directly from cache.

### Support

We try our best to provide support on WordPress.org forums. However, We have a special [team support](https://webvitalsdev.com/#text-3) where you can ask us questions and get help. Delivering a good user experience means a lot to us and so we try our best to reply each and every question that gets asked.

### Bug Reports

Bug reports for Core Web Vitals & PageSpeed Booster are [welcomed on GitHub](https://github.com/ahmedkaludi/core-web-vitals-pagespeed-booster/issues). Please note GitHub is not a support forum, and issues that aren't properly qualified as bugs will be closed.

### Credits

* PHP CSS Parser library used https://github.com/sabberworm/PHP-CSS-Parser - License URI: https://github.com/sabberworm/PHP-CSS-Parser?tab=MIT-1-ov-file (PHP-CSS-Parser is freely distributable under the terms of an MIT-style license.)
* CSS from HTML extractor library used https://github.com/JanDC/css-from-html-extractor - License URI: https://github.com/JanDC/css-from-html-extractor?tab=License-1-ov-file (CSS from HTML extractor is freely distributable under the terms of an MIT-style license.)
* WebP Convert library used https://github.com/rosell-dk/webp-convert - License URI: https://github.com/rosell-dk/webp-convert?tab=MIT-1-ov-file (WebP Convert is freely distributable under the terms of an MIT-style license.)

== Changelog ==

= 1.0.19 (07 May 2024) =
* Fixed: Cant over ride the width of .cwvpsb_iframe due to the important property used #132
* Fixed: Compatibility with PHP 8.3 version #140
* Test: Test with new version of wordpress i.e. 6.5v #139
* Fixed:  PHP Warning: Undefined variable $img_srcset #141
* Improvement : Option to exclude lazyloading #91

= 1.0.18 (27 February 2024) =
* Fixed: CSS break after latest update (1.0.17) #130
* Fixed: Displaying unknown characters #133
* Improvement: Improvement in Image lazy load #131
* Improvement: Image optimization not working if html contain invalid DOM #134

= 1.0.17 (19 January 2024) =
* Fixed:  The type attribute is unnecessary for JavaScript resources. #123
* Fixed: Element script must not have attribute defer unless attribute src is also specified. #122
* Added: Option where we can set different delay JS methods on mobile and desktop. #119
* Added: Option for flush cache on a predefined schedule. #120
* Added: Option to keep  cache for a long period of time. #121
* Improvement: Automatic Resizing to fix Properly Size Image issue. #118
* Fixed: Network deactivate is not working #126
* Improvement: Code Improvement #125
* Improvement: Bulk convert to webP #127

= 1.0.16 (15 November 2023) =
* Fixed: Robots.txt error appears when you we enable our CWV plugin. #114
* Fixed: wp-content/gravatars folder not removed upon uninstall #112
* Fixed: Uninstall.php only removes main critical URLs table from database in multisite #111
* Improvement: Updated settings link #113
* Compatibility: Checked compatibility with wordpress v6.4 #115

= 1.0.15 (22 September 2023) =
* Added: Compatibility with  MYSQL v5.5 #97
* Fixed: Fatal Error on Multisite Activation: is_plugin_active_for_network() Undefined #106
* Fixed: Youtube embed video Not showing in AMP #105
* Improvement: Cache is off but still in header it's showing clear cache #104

= 1.0.14 (17 August 2023) =
* Fixed: Parse error unexpected ')' #87
* Fixed: Error in core-web-vitals-pagespeed-booster Plugin. #99
* Fixed: Compatibility with 10Web Booster #96
* Improvement: Added newsletter form  #4
* Improvement: WordPress 6.3 compatibility check #100 
* Improvement: Improved and optimized the code according to WP standards #101

= 1.0.13 (03 June 2023) =
* Improvement: Improved CSS load 
* Fixed: Redirection Issue

= 1.0.12 (14 April 2023) =
* Fixed: TypeError jQuery is not a function on console #84
* Fixed: Google fonts not loading on PHP 8.0+ #83
* Fixed: Conflict with the Google reCAPTCHA v3 #82
* Fixed: Warning Undefined array key "advance_support" #80
* Improvement : Add a label to the Exclude URL box #81
* Improvement : Exclude Google analytics from js delay #62

= 1.0.11 (17 February 2023) =
* Fixed: Woocommerce payment page is not working. #77 
* Improvement : Remove plugin dependency from file_get_contents function #78

= 1.0.10 (02 February 2023) =
* Improvement: Optimized code and fixed frontend js issue 

Full changelog available at [changelog.txt](https://plugins.svn.wordpress.org/core-web-vitals-pagespeed-booster/trunk/changelog.txt)

core-web-vitals-pagespeed-booster's People

Contributors

ajeetku avatar akshaywali avatar ansaritalha avatar developermustak avatar mohammed-qutubuddin avatar mohammedkaludi avatar rkroy avatar sanjeevsetu avatar shridhamdeveloper avatar syedimran22 avatar wasimm3 avatar zabi09 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

dexit

core-web-vitals-pagespeed-booster's Issues

Bugs with Manoj site

  • The Ads are loading but the location of the ads is getting changed.
    before: https://prnt.sc/26w8oha
    after: https://prnt.sc/26w9192

  • The menu button, search button, and slider button are also not working.
    https://prnt.sc/26w9c0w
    https://prnt.sc/26w95to

  • The page performance score is also not good 25+
    The opportunities that are common in PSI are:
    a. Eliminate render-blocking resources
    b. Reduce js and CSS
    c. Server images in next-gen formats.

  • Remove Unused CSS option when enabled the score on PSI is 80+
    with these common opportunities:

  1. Reduce Unused CSS
  2. Eliminate render-blocking Resources
  3. Reduce Initial Server Response Time
  • And there is no change on the PSI score of the URLs and the opportunities when the Remove Unused CSS option is disabled

----- Ahmed

  • Google Fonts optimization not working
  • Webp

Debug errors

[26-Oct-2021 04:53:04 UTC] PHP Warning: Undefined array key "lazyload_option" in C:\xampp\htdocs\wp\wp-content\plugins\core-web-vitals-pagespeed-booster\includes\admin\settings.php on line 122

[26-Oct-2021 04:53:25 UTC] PHP Warning: Undefined array key "unused_css_option" in C:\xampp\htdocs\wp\wp-content\plugins\core-web-vitals-pagespeed-booster\includes\admin\settings.php on line 138

[26-Oct-2021 04:53:25 UTC] PHP Warning: Undefined array key "fonts_option" in C:\xampp\htdocs\wp\wp-content\plugins\core-web-vitals-pagespeed-booster\includes\admin\settings.php on line 146

Bugs With Vijender's English Site

Issues with our plugin on the English site, when enabling the Remove Unused CSS option

And for Poor URLs, the page score is 90+ with three common opportunities:

  1. Eliminate render-blocking resources
  2. Serve images in next-gen formats
  3. Reduce initial server response time
  4. Reduce unused JS and CSS
  • All above-mentioned issues are fixed but now the page score is 80+ only with the same opportunities:
  1. Eliminate render-blocking resources
  2. Serve images in next-gen formats
  3. Reduce initial server response time
  4. Reduce unused JS and CSS

------- Ahmed

  • Minify,
  • G Fonts,
  • img

Need Improvements

  1. Pages/Post screen pages except admin dashboard i see “cwvlazyloadscript” it’s applied, but they are not loaded, because script missing for load them, so in admin this replace process should be stopped, even disable for logged in user will be best.
  2. add_filter( 'cwvpsb_complete_html_after_dom_loaded', '__return_false' );
    this filter should stop all things done by this plugin, but it’s still adding “Delay JS load Script”
  3. Plugin should introduce a request/get parameter like ?no_cwvpsb , so people can debug this
  4. Warning: in_array() expects parameter 2 to be array, null given in /xxxx/wp-content/plugins/core-web-vitals-pagespeed-booster/includes/style-sanitizer.php on line 433
  5. Elementor Preview Editor not loading, but it works fine if #2 filter used for logged in user, looks like related to #4 error
  6. https://snippi.com/s/r0pkwl6, this scripts breaks in middle, and source look like https://snippi.com/s/9uoiq4e, not good
  7. What does it means JS/PHP method?
    doesn’t make sense both name, anyways both are somehow mirror of rocket&perfmatter, at least rename them, maybe you will face legal issue.
  8. Add Option for on/off optimization
  9. Minify html should be removed, already removed on many optimization plugin
  10. Delay JS exclude box/filter should be introduced
  11. used css style tag should have a indentical or dynamic id, like “cwvpsb-used-css-uniquehash”
  12. /*# sourceURL=web-vital-custom.css */ this should be removed
  13. <style></style> blank style tag added right after used css, this should be removed
  14. /**/ such things added in wp emoji css, it should not be there
  15. Inline css should be untouched, it will create lots of issue like filling DB, JS error(if depend on style tag id mostly divi and plugin issues)

Reference ticket: https://wordpress.org/support/topic/multiple-improvement-required/

Bugs With Art/Sibylle

Website Url - https://sibylle-rettenmaier.de/
Helpscout URL - https://secure.helpscout.net/conversation/1746882336/221605?folderId=5044124

Page score when our plugin is activated is 85+ and when deactivated then the score is 45+
Opportunity, when our plugin is activated:
a. Serve images in next-gen formats
b. Reduce unused CSS
c. Eliminate render-blocking resources
d. Properly size images

----- Ahmed

  • Image optimization,
  • CSS minifcation,
  • JS Delay,
  • fonts

Issues

Please follow the naming conventions showed in the WP Documentation
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/#naming-conventions

bugs

Bug with Julai Mondal User

  • no media files while he is creating a new post and adding images from the media
  • Hambergur menu
  • Load more Button
  • ads are not loading
  • Google Analytic
  • Search Button
  • on PSI eliminate rendered blocking(https://prnt.sc/26stwnl)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.