GithubHelp home page GithubHelp logo

optimocha / speed-booster-pack Goto Github PK

View Code? Open in Web Editor NEW
22.0 7.0 5.0 2.85 MB

Official Repository for Speed Booster Pack

License: GNU General Public License v2.0

PHP 93.41% CSS 2.13% JavaScript 4.46%
wordpress-plugin wordpress speed-optimization pagespeed-optimization pagespeed

speed-booster-pack's People

Contributors

futtta avatar lahmacun avatar optimocha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

speed-booster-pack's Issues

Lazy load breaks images on shop, cart and product pages

Hello and thank you for this great plugin.
It beated all the rest of tghe famous plugins for me.
I have a problem with the Lazy load setting.
As the title suggests it doesnt load any images on Shop, Cart, and single product page.
Shop page (and any category page) images will show after ajax pagination loading
Single product images will show if product has more images and select one of those first

Is there a way to exclude some pages ?
Is there a way to include only some pages ? (only front page for example)

thank you in advance,
Dimitrios

The page I need help with: https://www.flobali.gr/


More details, here: https://wordpress.org/support/topic/lazy-load-breaks-images-on-shop-cart-and-product-pages/

Update lazy load to use browser API IntersectionObserver (with Lozad.js plugin)

There is a new lazy loading paradigm out now using a new browser API called IntersectionObserver…supposedly this is the most performant way to lazy load images. There is a lightweight plugin (500kb) called Lozad.js (with accompanying polyfill for older browsers) that uses this. Would love to see it implemented. It is vanilla JS, has no dependencies, and is most performant way to lazy load images.

https://apoorv.pro/lozad.js/


More details, here: https://wordpress.org/support/topic/update-lazy-load-to-use-browser-api-intersectionobserver-with-lozad-js-plugin/

XML-RPC disabled by default on the last update

Someone has complaint about disabling XML-RPC by default in the latest plugin update 3.7.6. You can read more about it in the following thread.

https://wordpress.org/support/topic/xml-rpc-disabled-by-default-on-the-last-update/

I was thinking that perhaps you could disable this option by default, or add a popup message when the plugin is activated. This message could warn them and give them the option to change the default options in the plugin settings.

What do you think?

can not login or sign up

After the installation is activated, I cannot log in to the dashboard or register as a member

Here you can see that the x-powered header is set by speed booster pack.

          Here you can see that the x-powered header is set by speed booster pack.

Not by any other plugin or something.
My Hoster tell me that all configs are good and the x-powered header is
defenitly set by speed booster pack.

HTTP Response Header
Name Value
date Tue, 25 Jul 2023 14:18:40 GMT
content-type text/html; charset=UTF-8
transfer-encoding chunked
connection keep-alive
x-powered-by Speed Booster Pack v4.5.6
cf-cache-status DYNAMIC

Originally posted by @n82freak in #69 (comment)

Order scripts Jquery first in footer

Hi first of all thanks for the great plugin, ive tried BWM, Autoptomize ect, but find yours works best for me.

There is one feature I would like (to order scripts so that jquery IS in footer and IS first.)

Is it possible to order the scripts? as at present im getting some consel erros as its not loading first.

I dont want to put in head, as this gives a problem with google page speed test.

found a plugin that does do this, but conflicts with yours.

re-order-css-and-js-loading-order.zip

any chance to add this feature to the plugin?

thanks


more details, here: https://wordpress.org/support/topic/order-scripts-jquery-first-in-footer/

Minify HTML and JS Model cause the video background no work

Hello,

we I enable Minify HTML and JS, the video background of a page will not work, I am using a theme named Kleo, here is video background example: https://seventhqueen.com/themes/kleo/portfolio/video-background-header/

and here is the screenshot of backend of Visual composer: http://prntscr.com/g9gubf

would you please let me know how to resolve, thanks so much.


More details, here: https://wordpress.org/support/topic/minify-html-and-js-model-cause-the-video-background-no-work/

Minimize Javascript/HTML Problem

Currently when enabling the minimize js and html option, inline comments i.e. “//hello” do not get stripped and so any code after the inline comment gets commented out as well.
This is currently causing a problem with wp_customize_support_script() which adds this script to the page:

<script type=”text/javascript”>
(function() {
var request, b = document.body, c = ‘className’, cs = ‘customize-support’, rcs = new RegExp(‘(^|\\s+)(no-)?’+cs+'(\\s+|$)’);
request = true;
b[c] = b[c].replace( rcs, ‘ ‘ );
// The customizer requires postMessage and CORS (if the site is cross domain)
b[c] += ( window.postMessage && request ? ‘ ‘ : ‘ no-‘ ) + cs;
}());
</script>

As you can see in the above code when minified to one line,
“b[c] += ( window.postMessage && request ? ‘ ‘ : ‘ no-‘ ) + cs;
}());”

More details, here: https://wordpress.org/support/topic/minimize-javascript-html-problem/

Exploit SQL injection and XSS in function data engine converter

A SQL Injection vulnerability and Cross Site Scripting caused SQL Injection vulnerability exists in version 4.3.2 of plugins speed booster pack of wordpress when MySQL or MariaDB is used as the application database.

(Redacted temporarily)

SOLUTION:

  • Avoid using the root user to connect the SQL database
  • Limit accesses of the SQL user to sensitive directories
  • Update PHP, WordPress core, and MySQL
  • Block SQL keywords using your server
  • Keep backups of your site off-site in case of irreversible damage
  • Update third-party plugins and themes

HTTPS sometimes causes mixed content errors

I've now seen this happen on three different sites. They are client sites so i'd rather not link them here.

The issue is as follows:

  • Install speed booster pack
  • Site caches fine everything is faster, it's great
  • Spontaneously a page will load with HTTP requests for its CSS and JS files. It's caching them as http instead of https, thereby causing the page to render badly.
  • Clearing cache and then refreshing the page brings it right back
  • This keeps happening. I've not yet pinpointed what triggers it but am hoping your team can help with this issue.

Addtional notes:

  • The three sites I've seen this happen on are each using different themes with one being completely custom.
  • One has the cloudflare integration added now, as I thought might help, can't confirm that yet.
  • It seems to not happen if you're logged in as an admin [i figure it's not caching when you're logged in] so i had to test using incognito mode to see it for one client who reported it on his phone first [happens both mobile and desktop].

Can't be fully translated because of one wrong text-domain string

Hello,

I am one of the many users of Speed Booster Pack and I notice a bug.

In the Speed Booster Pack files, the common translation variable is ""sb-pack"". But there is also this other variable ""saboxplugin"".

Can you replace ""saboxplugin"" with ""sb-pack"" in the following line
<? php esc_html_e ('Lend a hand & share your thoughts', 'saboxplugin'); ?>

(line 402 is in ""inc / template / options.php"")

This will allow a complete translation of Speed Booster Pack

Thank you for your feedback and your extension.

Good luck

JS Minifier doesn't properly recgonize comments for inline JS

Currently when enabling the minimize js and html option, inline comments i.e. “//hello” do not get stripped and so any code after the inline comment gets commented out as well. This is currently causing a problem with wp_customize_support_script() which adds this script to the page:


https://wordpress.org/support/topic/minimize-javascript-html-problem/
https://wordpress.org/support/topic/minify-html-and-js-doesnt-detect-inline-comments/

Cache warmup doesn't do anything

Hello,

I am using version 4.1.3

When I click warmup cache no files are generated. When I visit the URL's of the pages, they are created.

Let me know if you need more information

bing webmaster tools

Hello,

I had to install the development branche for another issue (where warming the cache throws an error, the development branche fixed it)
But when I clear the cache now and warm the cache, the bing webmastertools will send a submit for all urls, which causes me to run out of submits

Is this something you can fix?

Language strings are not working

Hi I have tested the latest version 3.7 of the plugin. I have fully translated the Spanish strings in WordPress.

The language files are not pulling through. Another words, when you install the plugin the language files is not being downloaded into the site. You get the two Spanish po and mo files downloaded but they don't have the translated strings from WordPress.

Kind regards

question about the cachefiles

When I warm the cache, I expected the cache to be filled with the complete site, so I can redirect my nginx config to try the cache first instead of sending requests to php-fpm (8.0)

Instead I got only:

$ find .
./speed-booster
./speed-booster/deb.myguard.nl
./speed-booster/deb.myguard.nl/index.html

$ du -h
24K ./speed-booster/deb.myguard.nl
28K ./speed-booster
32K .

Is this the expected behaviour?

Running on the development branche by the way, but I observed this behaviour in the release too.

Fix "exclude scripts from footer"

  • didn't use to work
  • jQuery should remain in the header for now, avoid breaking so many websites with the global "move scripts to footer"
  • added backwards compat for users that actually had any script handles entered in previous plugin versions

Warmup cache

Hello I have written to you before also about your plugin Speed ​​Booster and it is the best I have used. I have used more than 10 different cache plugins, but none of them compare to Speed ​​Booster. It's amazing how fast the website is. I have installed Speed ​​Booster plugins on all my clients website and they are very happy with it. I'm just wondering about something, and hope you can guide me. When I click on Warmup cache, the web page becomes very very fast, but after a while it gets deleted again. I don't know why it gets slow after a few hours. But when I log into the Wordpress Dashboard and click on Warmup cache, it becomes very fast again, then after a few hours it becomes very slow again. I have enable Warmup cache as well, so I don't know what makes it slow after a few hours. Really hope you can help me and give me a bit more information about this. Thank you

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.