Home › Forums › WoodMart support forum › WP Rocket advice
WP Rocket advice
- This topic has 12 replies, 2 voices, and was last updated 3 years, 5 months ago by Artem Temos.
-
AuthorPosts
-
July 8, 2021 at 6:39 am #305182
ToriTori38ParticipantHi,
Firstly you have done a very good job at making your theme load fast (unlike what some people say). However there are a lot of JS / CSS files loading which I would like to try improve with WP Rocket.
I know you also use WP Rocket on your test site. Can you tell me which of these 8 settings you have turned on on your test site (turning them all on will cause issues so I want to know what settings you are using). It would be good you advise people on this as many people ask but you never give a clear answer.
Minify CSS
Combine CSS files
Optimise CSS delivery
Remove unused CSS (beta)Minify JavaScript files
Combine JavaScript files
Load JavaScript deferred
Delay JavaScript executionThank you
July 8, 2021 at 7:14 am #305189
ToriTori38ParticipantPS – The “Delay JavaScript execution” setting actually seems to slow down the site, when I test in Pingdom Tools. It also delays the Woodmart homepage slider image from loading by several seconds. So I will not activate that option.
July 8, 2021 at 10:42 am #305254
ToriTori38ParticipantAnother question – if we have “Include minified CSS” enabled in the Woodmart performance settings, should we disable “Minify CSS” in WP Rocket settings?
July 8, 2021 at 12:37 pm #305288
Artem TemosKeymasterHello,
Thank you very much for your feedback. Here are all the screenshots from our WP Rocket configuration on our demo
https://gyazo.com/3748a5ffe1c639d2c06e727ff974ecc5
https://gyazo.com/1f7fdf7841e1fb6f8f355d91fe9a1be1
https://prnt.sc/116hw2p
https://gyazo.com/3ab580f67ab3f8e1c537802dedaba102
https://gyazo.com/e1efab49d86f29a0a5e6d0f8e760157a
https://gyazo.com/a96745aaa24ef73019f25373513e81c7
https://gyazo.com/8de556cb3811007cdae2aa4703341b82You can activate both our theme CSS minification and WP Rocket one at the same time.
Kind Regards
July 8, 2021 at 12:59 pm #305309
ToriTori38ParticipantHi Artem,
Many thanks. Could you kindly copy all the lines of exceptions you have added to the “Delay Javascript Execution” settings in WP Rocket? I can then easily copy the ones I think I may require.
July 8, 2021 at 1:45 pm #305330
ToriTori38ParticipantArtem couple more questions:
– Why have you set 0 hours for the cache lifespan? Usually for better performance it should not be set to 0?
– You have selected “Seperate cache files for mobile devices”. Is this also recommended with the Woodmart theme?
July 9, 2021 at 7:20 am #305519
Artem TemosKeymasterHi,
We haven’t changed the default value for the “Delayed JS” list.
Our demo website is static and never changes. That is why we don’t need the lifetime span and set it to 0.
Separate cache files for mobiles are needed only if you enable our mobile DOM optimization feature in Theme Settings -> Performance.
Kind Regards
July 9, 2021 at 10:14 am #305581
ToriTori38ParticipantHi Artem,
Thank you.
We have enabled the DOM Optimization feature in Theme Settings > Pwerformance, but do we need to enable the seperate cache files for mobiles in WP Rocket settings?Whenever we enable that feature in WP Rocket, our site in both desktop and on mobile seems to load slower. So I want to check if we need to have that option enabled if we use the DOM Optimization setting.
July 9, 2021 at 12:13 pm #305621
Artem TemosKeymasterHi,
Yes, you need to enable the separate cache files for mobiles in WP Rocket settings. It shouldn’t affect your loading time.
Kind Regards
July 9, 2021 at 4:37 pm #305687
ToriTori38ParticipantThanks Artem,
With WP Rockets “Delay Javascript Execution” option, the product images on category pages do not display straight away on mobile (they only appear when you scroll). I guess this is something to do with a conflict with the Woodmart lazyloading feature.
1. Can we exclude the Woodmart lazyloading script from WP Rockets “Delay Javascript Execution” (so lazyloading works with WP Rockets “Delay Javascript Execution” option?
2. If we Combine JS files in Theme Settings > Performance > JS, will this actually slow down the page load or speed it up?
July 10, 2021 at 6:20 am #305752
Artem TemosKeymasterHi,
It is not a conflict it is how the Delay JS execution is supposed to work in WP Rocket. This function depends on other scripts so you need to either enable all scripts delay or disable them all.
If you combine JS in Theme Settings you will have approximately ~100KB more JS code on your pages.
Kind Regards
July 12, 2021 at 7:07 am #305967
ToriTori38ParticipantThank you Artem for explaining that!
OK we will possibly then not enable the JS script delay, as I think customers expect to see images when navigating to a page, and our site seems to run reasonably well without this option.July 12, 2021 at 11:25 am #306042
Artem TemosKeymasterYou are welcome! We are glad that you sorted it out. Let me know if you need any further assistance.
-
AuthorPosts
The topic ‘WP Rocket advice’ is closed to new replies.
- You must be logged in to create new topics. Login / Register