This topic contains 3 replies, has 2 voices, and was last updated by Tom 1 year ago.
January 16, 2018 at 9:14 am #472377
First of all I’m very happy with GP and GP premium!
“Not entirely happy with perfomance” does not mean that i’m complaining..! 🙂
But I wish it was easier to optimize performance.
I just tested with the Full Page test in Pingdom Tools. The web page took 499 ms to load, used 42 requests, and weighed in at 1.7 MB.
The Google Page Speed performance grade for this web page is 76/100. I did expected the grade to be very close to 100/100. Here’s the link to the test.
Disable Cart Fragments
I am aware that one of the culprit’s is the AJAX cart fragments feature in WooCommerce which can be disabled with fx Disable Cart Fragments plugin, but then the GP Premium WooCommerce cart in the menu stops working (doesn’t update on page load), so I deleted it again. See WP Rocket
Is the menu cart PHP driven?
I had to enable these settings in wp-rocket to get the menu cart to work with caching. (I’m not using the Disable Cart Fragments plugin).
The other culprit is Fontawesome. To get the menu cart icon I have to disable “Load essential icons only” in the customizer/general. Maybe you could consider including the cart icon in the essential icon set?
Here’s my stack:
WC Version: 3.2.6
WP Version: 4.9.1
WP Memory Limit: 512 MB
### Server Environment ###
Server Info: Apache
PHP Version: 7.2.0
PHP Post Max Size: 512 MB
MySQL Version: 5.6.29
### Database ###
WC Database Version: 3.2.6
### Active Plugins (21) ###
Autoptimize: by Frank Goossens (futtta) – 2.3.2
Beaver Builder Plugin (Pro Version): by The Beaver Builder Team – 188.8.131.52
Facebook for WooCommerce: by Facebook – 1.7.5
GP Premium: by Tom Usborne – 1.5.6
Lightweight Social Icons: by Thomas Usborne – 1.0.1
Loco Translate: by Tim Whitlock – 2.0.17
MailChimp for WooCommerce: by MailChimp – 2.1.3
Pakkelabels.dk for WooCommerce: by Pakkelabels.dk – 1.1.11
Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.0.1
Simple Notices: by Pippin Williamson – 1.0.7
WooCommerce Accepted Payment Methods: by jameskoster – 0.7.0
WooCommerce Print Invoice & Delivery Note: by Tyche Softwares – 4.4.1
WooCommerce Dynamic Pricing: by Lucas Stark – 3.1.3
WooCommerce Stripe Gateway: by WooCommerce – 4.0.1
WooCommerce Google Analytics Integration: by WooCommerce – 1.4.3
WooCommerce Min/Max Quantities: by WooCommerce – 2.4.1
WooCommerce: af Automattic – 3.2.6
WordPress Import: by wordpressdotorg – 0.6.3
Yoast SEO: by Team Yoast – 6.1.1
WP Rocket | Redirect HTTP to HTTPS: by WP Rocket Support Team –
WP Rocket: by WP Media – 2.11.4GeneratePress 2.0.1GP Premium 1.5.6January 16, 2018 at 9:25 am #472392
Tom Lead Developer
Glad you’re enjoying the theme!
Don’t put too much stock into what Google Page Speed says – it’s one of the worst performance checking services in my opinion (and a lot of other opinions).
The most important thing is your load speed, and 500ms is very good.
1. Cart fragments allow the price in the cart to update without reloading the page. WooCommerce itself is pretty bad performance-wise unfortunately. The price in the menu should update when you reload the page or load a different page.
2. Yes, PHP is used to get the total price of your items in the cart. AJAX is only used to update that price without reloading the page.
3. We plan on adding the cart to the essential icons soon.
Let me know if you need more info 🙂January 16, 2018 at 11:59 am #472553
Thanks Tom 🙂January 16, 2018 at 8:07 pm #472877
You must be logged in to reply to this topic.