Home › Forums › Basel support forum › Optimization
Optimization
- This topic has 3 replies, 2 voices, and was last updated 3 years, 11 months ago by Artem Temos.
-
AuthorPosts
-
December 11, 2020 at 4:06 pm #250094
cgParticipantHi,
I’m trying to make my website faster (pagespeed insights) and I have some questions:
1. If a delete completely (not deactivate) the Rev. Slider plugin, will I have any issues with the theme?
2. Do I need to delete the Rev. Slider every time I update the theme?
3. I don’t use the Google Maps and it seems like the js is slowing down my website. How can I delete everything about the the google maps (code, css, html, etc).
4. I use WP Rocket and my home page scores only 18 in google page speed. Can you give me any suggestions to make it faster?
Thank you.
December 12, 2020 at 10:22 am #250279
Artem TemosKeymasterHello,
1. No, you can delete the plugin without any worries.
2. Just uninstall it once and never install it again.
3. Try to disable the
Combine JS
option in Theme Settings -> Performance.4. You need to try to disable all external plugins since they load a lot of JS and CSS files. Also, enable JS and CSS optimization in WP Rocket settings. And setup some CDN service like KeyCDN for example.
Kind Regards
December 21, 2020 at 5:40 pm #252846
cgParticipantThank you so much for the feedback. Since Google is taking more and more into consideration the speed and performance, I would like to kindly ask your dev team to review your JS library. While checking the Pagespeed Insight, GT Metrix, etc, I noticed your theme have some deprecated JS that consume time. For ex:
– https://cgmodernart.com/wp-content/themes/basel/js/TweenMax.min.js?ver=5.4.2
Check the developer update here:
https://greensock.com/tweenmax/
Thank you.
December 22, 2020 at 7:10 am #252962
Artem TemosKeymasterHello,
We will fix this in our next theme update. You can remove this library from your website at all.
1. Disable Minify and Combine JS in Theme Settings -> Performance.
2. Remove the following code from the file
js/functions.js
http://prntscr.com/w7ltle3. Add the following snippet to the functions.php file in your child theme
add_action( 'wp_enqueue_scripts', function() { wp_dequeue_script( 'basel-panr' ); wp_dequeue_script( 'basel-tween-max' ); }, 10001 );
Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register