How to Have Visitors Cache Your JavaScript

Published: 20 January 2020
on channel: Seo Site Checkup
2,859
8

In this video, you’ll hear some of the following:

"In order to reduce HTTP requests and have your website load as fast as possible for return visitors it's often a great idea to set expiration headers for some of your content such as your JavaScript and other content like images.

We need to do is head into the root directory of your site and find htaccess file this is a hidden file so make sure that your settings allow you to see hidden files and add this mod one month is pretty standard.

But we can also go up to one year in our case we'll have our users cache our JavaScript for one month after they first visit our site then all those subsequent visits during that month won't require downloading that java script again and save now visitors to my site will automatically store the java script in their browsers cash and only request it again after one month until then any time they visit your site again it will look faster since they already have it.. "

Hear more by watching the full video!

#javascript #htaccess #seositecheckup


Watch video How to Have Visitors Cache Your JavaScript online without registration, duration online in high quality. This video was added by user Seo Site Checkup 20 January 2020, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,859 once and liked it 8 people.