LEVERAGE BROWSER CACHING | Serve static assets with an efficient cache policy (HTML & Wordpress)

LEVERAGE BROWSER CACHING | Serve static assets with an efficient cache policy (HTML & Wordpress)


LEVERAGE BROWSER CACHING | Serve static assets with an efficient cache policy (HTML & Wordpress)

Must have an easy trick to Boost website speed 🚀 in just 1 minute. LEVERAGE BROWSER CACHING - Serve static assets with an efficient cache policy.

Fix - Serve static assets with an efficient cache policy

The easiest tutorial that how you can implement leverage browser caching on any website and increase website speed for html websites and WordPress. I will show you 2 methods of how to add leverage browser caching on any website and on WordPress. We will add it via cpanel for HTML websites and via wp fastest plugin on wordpress.

CODE TO PASTE IN .htaccess file : https://gtmetrix.com/leverage-browser…
Youtube does not allow to add code here. so copy code from bottom of the link of page above.
(If the code does not work it mean you need to ask your host to enable expire module.)

🚀 🚀 Get Customized Advice for your Website
https://tinyurl.com/GetYourWebsiteReport

SUPERFAST HOSTINGS I RECOMMEND( DISCOUNTS )

BLUE HOST
https://tinyurl.com/Bluehost85perDisc… 👈👈

A2 Hosting
https://tinyurl.com/A2hosting82perOff ($1.99/mo) 👈👈

SITEGROUND
https://tinyurl.com/Siteground97Perce… 👈

Fast COMET
https://tinyurl.com/Fastcomet90Percen…

CloudWays Trial
https://tinyurl.com/GetCloudwaysFreeT… 👈

NAMECHEAP 99cents
https://tinyurl.com/NAMECHEAP-DEALS👈




THEMES, PLUGINS \u0026 VPN I RECOMMEND

WP THEMES https://tinyurl.com/BEST-THEMES 👈👈
WPML https://tinyurl.com/getwpmlpugin 👈👈
NordVPN https://tinyurl.com/NordVPNBestDeal 👈👈
BEST FORM https://tinyurl.com/GRAVITY-FORM-OFFER👈


STUCK SOMEWHERE?? Call me https://tinyurl.com/CONSULTATION-WITH… 📞

If the video was USEFUL then don’t forget to SUBSCRIBE, this really boosts the morale and helps the small channel grow. You can use this FANCY LINK below to subscribe 😊 😊
https://tinyurl.com/DontclickWINK 😊






More Informational Useful Videos :
1) 12x Website Speed using WP fastest cache
   • Speed Up WordPress Website with WP Fa…  

2) Update Wordpress without breaking (Must watch)
   • How to Upgrade WordPress Without Loos…  

3) Secure website in just 5 minutes
   • How to secure Wordpress website | ith…  

4) Google Site Kit - Must have on your website
   • Google Site Kit: The Ultimate SEO and…  

5) Yoast SEO Tutorial 2020 | SEO For Beginners
   • Yoast SEO Tutorial | SEO For Beginners  

6) This is why your site is slow : Easy fixes
   • This is why your wordpress website is…  



-------------------COPY RIGHT /CREDITS / SEO / TAGS--------------------

#leveragebrowsercaching #wordpress #wordpresscache


Content

0.95 -> So today we will see how we can impmement leverage browser caching.
4.27 -> This will make your website very fast for repeated visitors and it is so easy that anyone
8.53 -> can implement this on their website and there is no need of any technical knowledge to
12.321 -> implement this trick.
13.321 -> In this tutorial We will see how we can implement it via 2 methods .
16.71 -> The first method will be applicable for any kind of website including WordPress and the
21.171 -> second method will be only for WordPress website only.
23.59 -> So before we move forward, I would like to tell you in this channel that I would give lots
26.7 -> of important and useful tips and tricks sostay always updated in yourself.
30.8 -> It is very advisable that you subscribe to my channel.
34.09 -> So you get all these important tips and tricks to stay updated in your website game .
38.58 -> So, let's see what is a website is made of? When you open a website, the design you see on a web site
43.61 -> is made up of a lot of things like images video css files javascript files and HTML
49.92 -> and now you understand.
50.92 -> What is website design made of you open website on your browser.
54.54 -> Let's see how it works.
55.76 -> So when someone open a website on their browser, what happens, all the files
61.35 -> zhich are stored on the server, they are downloaded via internet from server to user's computer
66.549 -> and when you don't have leverage browser caching on your website,everytime someone open your website all these files are
72.52 -> downloaded again and again, and what happen when you apply leverage browser caching
76.43 -> We will understand this next slide.
79.99 -> So when you implement browser caching at the first load of your website, all these
84.24 -> files are stored on the user's computer so when someone visits the website a second time,
89.689 -> they don't download all these files because they already available on the user's computer
94.359 -> and your website design uses this files from users browser, so by implementing this you can understand
100.869 -> that you are saving lot of download time for these files for users and this will make
104.88 -> your website very faster for the repeated visitors. Even when they navigate on your website on another pages
110.509 -> there are lot of files which are similar . For examples CSS file JavaScript file your logo your footer. These are common files
118.179 -> which exist on every page. so if you implement leverage browser caching then you can make
122.679 -> your website very fast for website visitors, and you know, Google prefer fast websites.
128.349 -> So if your website is faster then Google will recommend your website in the search results,
132.019 -> So let's jump into the video and see how we can implement this simple trick of leverage
135.9 -> browser caching to make your website very fast.
144.84 ->
151.75 -> So this is my website and I am going to implement leverage browser caching on my website but
157.571 -> before we need to check if your website is not using this technique because in some
161.599 -> cases, it is already Implemented on your website May be you are not aware of it but it is already implemented
166.829 -> then to check if it is already implemented or not, you need to open this website, which is
173.73 -> called gtmetrix.com. it is very nice website , you canunderstand lot of things
177.18 -> about your website speed, no matter whether you have technical or not.
179.209 -> I will recommend you to test your website via this tool.So it is gtmetrix.com and
183.79 -> you can create a free account and I would suggest you to create a free account as it
187.629 -> gives you more options when you login and If you do not login then you give less options,
191.42 -> for example I can show you.
192.64 -> You can just paste your URL here and test your website but what happens when you login.
196.689 -> When you create and login, this page changes slightly and now you have more options available,
201.26 -> for example, you can see the history of your site or any other party that you tested before
205.87 -> You can choose the test location
208.969 -> For example if your website is based in USA. you can choose from USA. If it is based in china , UK or anywhere else,
216.269 -> You can choose the location even you can change the browser how fast your web site is loading
222.18 -> on different browsers like Chrome or Firefox and many other options you can test if your
226.77 -> website with a broadband fast connection, LTE, 3G and other options but I am sure it is not
233.06 -> applicable to everyone but this option is when you can choose a test location.
237.099 -> Everyone should choose a test location as it gives you the right idea about your website speed.
241.499 -> For example my website is based in USA and I am testing from Canada then
246.739 -> it will not give me the right metrics about website speed.
249.22 -> So create your account, it is free to use and I am using from lot of years, it's still free
254.59 -> and it will give you more options and this it will give you right metrics. So once you are inside GTMETRIX
259.2 -> paste your website URL and then choose the testlocation, in my case I will choose UK because
265.02 -> my website is based in Europe and then I click on analyze. So once the test will finish.
270.09 -> this will give you lot of recommendations that what is good and what is bad on your website in terms
274.09 -> of speed, as you can see here, they are page speed score and Y slow score.
279.54 -> If you can see here they say leverage browser caching So all these images
285.35 -> on my website
286.35 -> They are downloaded again and again. You can see I have this recommendation by GTMetrix ​​to
290.5 -> implement leverage browser caching.
291.72 -> If you test your website and you see the same thing then it is time now to implement leverage browser caching
297.49 -> on your website.
298.65 -> So what you need to do is, you need to login in website cpanel. In every hosting your cpanel.
304.25 -> You just need to find how you can get there.
306.57 -> Normally, it is very easy to find out because it is the easiest way to access website files.
313.13 -> Once you find this option FILE MANAGER . Click on File Manager.
316.27 -> It will take you to your website pages (files)
318.35 ->
319.35 -> Don't worry we're not going to be very technical.
320.59 -> You just need to open cpanel and then open the file manager on your browser.
325.98 -> We're not going to be any more technical and then once you're inside you need to go to
330.732 -> public html folder. After you need to find this file which is called htaccess file on your website.
336.67 ->
337.67 -> Once you find this file you need to right click and then EDIT.
341.26 -> And now you need to add a piece of code in this file.
343.4 -> You don't have to think about what this code is I will put in
346.3 -> description of the video. You can just copy from there and paste in this file.
350.61 -> So this is small piece of code, which you will copy from here and paste into your
355.23 -> .htaccess file
356.23 -> If you are interested then I can tell you that what does it do? it store all the text and
360.02 -> CSS files.
361.02 -> which create the design, font sizes for for one month on your website for a month
366.71 -> because we do not change our image.
369.58 -> If I create a Post
370.74 -> I added an image that is there for a long time then it will be a user browser for a
376.13 -> year.
377.13 -> Jpg gif png images pdf file javascript 1 month. So how simple it is.
383.34 -> I am going to copy this piece of code from here and I am going to paste it into this
388.39 -> file. Once you paste this click SAVE CHANGES.
390.77 -> That's all what you need to do, and then we'll go back to our test and you can click
396.31 -> here.
397.31 -> On Re -Test
398.31 -> I think in the last test, I forgot to choose the test server location, but you always have
403.84 -> to choose the test server location, so now we see that the leverage browser caching
408.63 -> warning is gone.
410.44 -> If you check here now we are scoring 100/100 in leverage browser caching.
414.19 -> I remember the last time my website was loading
415.84 -> somewhere 4 seconds or something.
418.41 -> But now it is loading 2 second.
419.89 -> So this is how you can implement leverage browser caching on any kind of website
423.89 -> by adding just this piece of code. Check the description of video, I will add this code there.
427.83 -> So you can just copy from there and paste it in your .htaccess file. Now we will see the second
431.8 -> method how we can implement this on a WordPress website.
434.94 -> The first method is also applicable to WordPress, but this is the general method you can use it on either WordPress
439.89 -> or any other kind of website. Because every website (mostly) has .htaccess file if you
443.631 -> are using Apache server, but most of you will be using Apache server.
448.91 -> . So you will always have .htaccess file in your website. Now let's see just for WordPress
453.58 -> users.
454.58 -> If you want to do this via a plug-in then how can you do this? The first thing you need to
456.91 -> login into your website backend.
457.91 -> You can login by typing your website url /wp-admin
466.03 -> now enter your username and password and login now, we are going to add a plug-in.
468.84 -> So to add the plug-in from the left side bar hover on the plug-in and click on Add new and then
472.97 -> search for plugin WP fastest cache.
478.07 -> So this is plugin which we're going to use.
480.91 -> Normally, this plugin does not only implement leverage browser caching
485.37 -> It has lot of other benefits, but in this video we are just going to cover leverage browser caching
489.96 -> and why I chose this plugin ? Because in coming video you can use this plugin
493.7 -> for many other things. So I recommend you to install the plugin
497.01 -> and subscribe to the channel so that you will know what else you can do with
499.8 -> this plugin.
501 -> So click on install now, it may take few seconds.
503.2 -> Once it is installed click Activate.
506.17 -> So when the plug-in is activated then you can see that this option WP fastest cache
509.3 -> in left side bar. click on WP fastest cache.
514.25 -> And from here you can see a lot of different options here. For leverage browser caching
518.45 -> click on 'Browser caching' and click on submit. So what this option in this plugin will do?
523.34 -> the code we added manually, it will add the code in the .htacces file.
527.99 -> But not everybody uses a WordPress website.
529.34 -> So let me show you both ways how you can do this.
532.31 -> So if you are using Wordpress, I recommend you use the plug-in.
535.24 -> If you are using another kind of website, you can manually add this code to your .htacces file.
538.9 -> The file is how we implement leverage browser caching to any website and make it very fast
543.15 -> for repeated visitors.
544.15 -> I hope you liked the video, if you liked the video, then give it a thumbs up subscribe to my
549.08 -> channel and share it with your friends and family or anyone else who wants to make the
552.97 -> website faster and implement this useful trick.
554.9 -> Thanks a lot.
555.9 -> See you in another video. Have nice day!

Source: https://www.youtube.com/watch?v=lksX7ZFHb4g