Тёмный

Combine External Javascript and CSS Using W3 Total Cache Minify 

Craigerson
Подписаться 1,4 тыс.
Просмотров 24 тыс.
50% 1

In this video we'll cover how to combine external Javascript and CSS using W3 Total Cache Minify settings.
Have you used GTmetrix to test out your site speed? Is your YSlow score giving you fits because you need to make fewer HTTP Requests?
The reason you are getting the message to make fewer HTTP requests, is because you have multiple JavaScript and CSS files. If you can figure out how to combine external JavaScript or CSS files, the end result will be fewer HTTP requests and a quicker loading site.
We'll fix that in today's video, by showing you how to leverage W3 Total Cache and its minify settings. Minify is nothing more then a fancy word to shrink the size of the file. However W3 Total Cache Minify settings will also let you combine your external JavaScript and CSS files.
Stick with me on this, as I'll walk you through exactly what you need to do to both minify and combine JavaScript and CSS using W3 Total Cache.

Наука

Опубликовано:

 

12 апр 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@kayechen3328
@kayechen3328 5 лет назад
Worked like a charm! Thank you so much! You've saved me hours with this.
@Craigerson
@Craigerson 5 лет назад
Thanks Kaye!
@zakariaabali4750
@zakariaabali4750 4 года назад
its been 1 year and ur tutorial still work excellent thank you subscribed
@AbdulRehman-gn9yd
@AbdulRehman-gn9yd 4 года назад
it slows down my website and showing js errors in browser console
@Craigerson
@Craigerson 4 года назад
I actually refer to it when I’m setting up a new site as a gentle reminder for how to set this up.
@Craigerson
@Craigerson 4 года назад
As I stated in the video, minifying JS can be tricky and can break your site in certain cases. You may need to turn minify off for JS.
@Falcarragh
@Falcarragh 6 лет назад
Excellent tutorial, it takes a bit of messing around checking the website with every change. It goes without saying that javascript should carry a warning "Here be Dragons"
@deovenson
@deovenson 6 лет назад
nice presentation. I have Learned from you.
@point4designs711
@point4designs711 5 лет назад
Much thanks great walkthrough worked wonders on my personal site. 6.7 sec to 1.5 plus Yslow score is a high A now (as if that really matters)..LOL Well done!
@Craigerson
@Craigerson 5 лет назад
Well done!
@maheshgandhi2000
@maheshgandhi2000 5 лет назад
Thanks for the guidance. Helped me a lot.
@Craigerson
@Craigerson 5 лет назад
Glad it helped.
@MuhammedHatemAbdelaziz
@MuhammedHatemAbdelaziz 4 года назад
Wow! Thanks Man This was amazing ❤❤
@chrischandler3041
@chrischandler3041 5 лет назад
Nice tutorial. Thanks for the info. I would recommend forcing https on your site.
@amenamabrouk
@amenamabrouk 5 лет назад
This is amazing!!!!!!!! Thank you for sharing the info :)
@Craigerson
@Craigerson 5 лет назад
Thanks for the great comment.
@joyinthecommonplace
@joyinthecommonplace 5 лет назад
Great video! Thanks for the advice!
@Craigerson
@Craigerson 5 лет назад
Glad I was able to help.
@getmeatrajesh
@getmeatrajesh 5 лет назад
thank you so much brother.. nice video
@Mortizshow
@Mortizshow 5 лет назад
thankyou so much bless you for tka you time
@epicinfo3801
@epicinfo3801 4 года назад
hey man.. you made my day!
@learningcenterHD
@learningcenterHD 5 лет назад
May God Bless you dear. waiting for your kind response
6 лет назад
congratulations, you broke my site successfully, I wanna cry, I shouldn't have watch this video and copy your moves
@CraigEmerson01
@CraigEmerson01 6 лет назад
I’m very sorry to hear that. You should be easily able to restore by turning off the different items you were trying to minify (CSS or JavaScript). If that doesn’t work turn off minify as a whole.
@supermelanin
@supermelanin 5 лет назад
Thanks! I tried this for my site (albeit super cautiously) and it worked. I'm also using W3 Total Cache and added some changes to my .htaccess file (gzip and leverage browser caching code) which has reduced my site speed by a lot. Still trying to get to 1 second at least.
@Craigerson
@Craigerson 5 лет назад
You need to be cautious. I screwed up my site when trying to minify the JavaScript files, and had to back off trying that.
@ahmedgeva
@ahmedgeva 5 лет назад
Nice
@learningcenterHD
@learningcenterHD 5 лет назад
Hi dear a wonderful video you have solved my problems. bu still i am facing the Eliminate Render Blocking THE MESSAGE IS (Resources are blocking the first paint of your page. Consider delivering critical JS/CSS inline and deferring all non-critical JS/styles.
@pergolatios
@pergolatios 5 лет назад
Hey man. I have 208 requests. I saw that many of my js's are the same. When i press "help" i see a total of 309 javascrips and 253 css files. Any heads up?
@mynicheaffiliatemarketing2164
@mynicheaffiliatemarketing2164 5 лет назад
The problem is how to select the appropriate files? which one should I select
@lokeshkumarrathor1306
@lokeshkumarrathor1306 5 лет назад
when i save minify setting there come a pop up - Duplicate files have been found in your minify settings, please check your settings and re-save., Now how can
@StunningAutos_com
@StunningAutos_com 3 года назад
I tried what you showed in this video. But didn't worked for my website. My site JS and CSS is little complex than your's because of Astra Theme, Elementor and AdSense scripts. Can you please help me fix this?
@Tinbali
@Tinbali 5 лет назад
I don't have the help wizard button in the minify section, do you know why?
@IansGarage
@IansGarage 5 лет назад
You're in auto mode
@OeMpaK
@OeMpaK 5 лет назад
help me please, it breaks my site, I try to uncheck the minify but still not setting back to default setting. please help Edit : I've sorted it out, thanks.
@vikingproductions6136
@vikingproductions6136 4 года назад
what did you done?
@vikingproductions6136
@vikingproductions6136 4 года назад
If i checked some thuf and it break my site can i uncheck without getting problems ?
@Craigerson
@Craigerson 4 года назад
Short answer is yes. I had originally tried minifying my JavaScript and my site was having some issues. I turned off the minify setting for JavaScript and my site is back to normal. Some other folks that have left comments seem to have some problems with this, so be careful. Bottom line it worked fine for me.
@kimcodemonkey
@kimcodemonkey 6 лет назад
It seem to me that your theme was broken in the screenshot.
@Craigerson
@Craigerson 6 лет назад
What time in the video? Pretty sure everything was working fine, but it’s possible I may have missed something.
@jagdishjakhar9731
@jagdishjakhar9731 5 лет назад
A single word "Awesome"
@Craigerson
@Craigerson 5 лет назад
I’m glad you found this helpful!
@tedysamsi8488
@tedysamsi8488 5 лет назад
its not working for me, doesn't change anything / my score.
@jimwaterloo
@jimwaterloo Год назад
Any idea why my help wizard might have brought anything up?
@Craigerson
@Craigerson Год назад
The W3TC help wizard? Not really sure about that. This video is a few years old, so maybe there's been some changes to the plugin since I filmed this.
@medsdrive8755
@medsdrive8755 4 года назад
thanks
@PuneVastu
@PuneVastu 4 года назад
How to do in HTML
@kudzaimatukeni4778
@kudzaimatukeni4778 4 года назад
Didnt work for me but thanks
@WaqasAhmad-dm8oz
@WaqasAhmad-dm8oz 6 лет назад
sorry not work for me..
@Craigerson
@Craigerson 6 лет назад
What’s not working? As I mentioned in the video be careful about minimizing or combining JavaScript files as it can break your site.
@thabiso_kgabung
@thabiso_kgabung 4 года назад
I'm so nervous right now
Далее
ЮТУБ ТОЧНО ВСЕ!
11:23
Просмотров 1 млн
Improving Load Performance - Chrome DevTools 101
13:29
Просмотров 320 тыс.
How to Speed Up Your WordPress Website (Simple Guide)
14:03
How To SSH Into AWS EC2
12:15
Просмотров 30 тыс.
iPhone 16 - 20+ КРУТЫХ ИЗМЕНЕНИЙ
5:20
Просмотров 101 тыс.