WordPress leverage browser caching

New Page

icon-256x256

To download

Aproveche el almacenamiento in hidden del navegador

PorRinku Yadav

  • Details
  • Resenas
  • Facility
  • Apoyo
  • Desarrollo

Description

How many, solve the problems of almacenamiento in hidden del navegador Leverage in its WordPress website. Also, improve page speed and searches on websites like: Pingdom, GTmetrix, PageSpeed, Google PageSpeed ​​Insights, YSlow, etc.

Acerca de aprovechar el almacenamiento in hidden del navegador

Aprovechar el almacenamiento en hid del navegador means almacenar static archives of a website in el navegador del visitor. Y luego recuperarlos del navegador rápidamente en lugar de volver a hacerlo desde el servidor. In fact, it is used to speed up this page of a website.

¿Cómo funciona aprovechar el almacenamiento en hid del navegador?

Cuando visits a web page, on the browser download all the content of the page in particular, así como static archives comunes como css y js archives. Y cuando visita otra página del mismo site web, su navegador los descarga nuevamente. Pero si ha habilitado aprovechar el almacenamiento en cache del navegador, all los archivos statáticos se publicarán desde su navegador en lugar del servidor. Ahora, cuando visit each page of the web site in particular, solo descargará únicos contents de la página y los statíticos archivos se utilán desde su navegador. de esta manera, accelera cada página de un site web.

Beneficios de aprovechar el almacenamiento in hidden del navegador

The main benefit is to speed up the web site so that the static archives will be published from your browser. keeps internet data of website visit. también ahorra ancho de banda del servidor del web site y reduce the load del servidor. Just minimize HTTP solicitations.

catches of pantalla

screenshot-1Code display

Code View

Facility

These are ways to install the ‘Leverage Browser Caching’ plugin.

The easiest: using the WordPress dashboard

  1. Open your WordPress website dashboard, then add a new plugin page, here: Dashboard > Plugins > Add New.
  2. Now search for “Leveraging Browser Caching”.
  3. Click “Install Now”
  4. Activate the plugin on the plugin dashboard

Upload to Dashboard

  1. Téléchargez le fichier zip du plugin à partir de : https://wordpress.org/plugins/leverage-browser-caching/
  2. Ouvrez maintenant le tableau de bord, puis ajoutez une nouvelle page de plugin, ici : Tableau de bord > Plugins > Ajouter un nouveau.
  3. Now click on ‘Upload Plugin’ button.
  4. Click on ‘Browse…’ to select downloaded zip file. Now simply install and activate it.

Uploading using FTP

  1. Download plugin zip file from: https://wordpress.org/plugins/leverage-browser-caching/
  2. Extract this zip file to find folder ‘leverage-browser-caching’
  3. Now upload ‘leverage-browser-caching’ folder inside plugins directory, here: ‘–WP-ROOT–/wp-content/plugins/’
  4. Now open Dashboard and then plugins page. Find this plugin and activate it.

FAQ

Will it works for my website?

It works for apache server. simply it adds browser caching code inside htaccess file.

Where are plugin options

This plugin does not have any option. When you will activate it, it will start working. When you will deactivate it, it will stop working.

Some JavaScript files still display under Leverage Browser Caching

It is because a website can’t store files of other website in browser. suppose your website is example.com then it will unable to store any file of example2.com website. Read More…

I need support

Please create support topic Here

Reviews

fcd30f97e55fb9be9fbb1fbc3abeec4a

This App Works Wonders!

kasper82 March 2, 2021

I just want to thank you. I never leave reviews, but this just cut down the loading time on my site by 5 second and increased my GT Metrix rating from an F to a B. With just one plugin! I was really worried that my site was taking so long to load, but this was just the thing I needed. Great Application. If I could give more stars, I would!

374ac0a421ae93453ee25773ef370796

Injects ads in the Dashboard

canegunkai February 18, 2021

Injects ads in all pages in the Dashboard.

364306304594cbb7f45d78ab32dba7b4

Super

redrocksoftwares November 10, 2020

Avant d’installer cette mise en cache du navigateur de levier de mon site Web est F (4) selon GT Matrix. Mais après l’avoir installé, il sera modifié dans D(60). Ce qui est vraiment incroyable et génial, c’est qu’ils n’ont aucun paramètre à définir, cela fonctionnera automatiquement. Merci M. Rinku Yadav

a7de6ef3b20ab642d6dc4462484ec2f3

Fonctionne comme prévu

bondimedical3 30 octobre 2020

Facile à installer et aucun paramètre à régler car il écrit automatiquement le code dans votre fichier htaccess. Mon score pour la mise en cache du navigateur sur GTmetrix est passé de F à B. Merci pour votre excellent travail.

c215738d9256c2bc83b35ec18ba5e2d9

Fait le travail

SirAde 8 août 2020

essayé sur 3 de mon site et fait le travail facilement

5d50fd8e5f3da9d4817ce948dd5d5fcb

Oui, ce plugin fonctionne pour moi

Tanmoy Biswas February 16, 2020

Thank you This plugin works perfectly for me

Read all 41 reviews

Contributors & Developers

“Leverage Browser Caching” is open source software. The following people have contributed to this plugin.

Contributors

  • 5bf36c8e13c66ba673179a4376a7d45fRinku Y

Translate “Taking advantage of browser caching” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the dev diary via RSS.

Change log

2.2

  • Tested up to 6.0

2.1

  • December 14, 2020
  • Tested up to 5.6

2.0

  • July 24, 2020
  • Tested up to 5.4.2
  • Remove action link
  • New information message

1.9

  • November 26, 2019
  • Tested with 5.3
  • Augmented version

1.8

  • February 23, 2018
  • Removed rate codes from this plugin.
  • Donation link added
  • Augmented version

1.7

  • August 07=, 2018
  • Description updates.
  • Lien d’évaluation.

1.6

  • 07 févr. 2018
  • Correction : erreur fatale

1.5

  • 15 novembre 2017
  • Vérifier la capacité

1.4

  • 1 novembre 2017
  • Petit bug corrigé
  • Refactoriser le crédit

1.3

  • 1 novembre 2017
  • Modifications des liens de crédit

1.2

  • 26 octobre 2017
  • Liens de crédit mis à jour

1.1

  • 01 août 2017
  • Problème résolu : Expire par type

1.0

  • 30 juin 2017
  • Première sortie

Méta

  • Version: 2.2
  • Last updated: 2 months ago
  • Active installations: 20,000+
  • WordPress Version: 4.0 or higher
  • Tested up to: 6.0.2
  • PHP Version: 5.6 or higher
  • Tags:

    browser caching

  • Advanced View

Ratings See all

  • 5 stars 28
  • 4 stars 3
  • 3 stars 2
  • 2 stars 3
  • 1 star 5

Log in to submit a review.

Contributors

  • 5bf36c8e13c66ba673179a4376a7d45f Rinku Y

Support

Issues resolved in last two months:

0 out of 1

View support forum

Donate

Would you like to support the advancement of this plugin?

Donate to this plugin

How to Easily Fix Leverage Browser Caching Warning in WordPress

Last updated on July 14th, 2021 by Editorial Staff | Reader DisclosureDisclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us.

Shares 899 Share Tweet Share Facebook Messenger WhatsApp Email

Do you want to learn how to easily fix leverage browser caching warning in WordPress?

By fixing the leverage browser caching warning, you’ll quickly speed up your WordPress site and deliver a better experience to your website visitors.

In this article, we’ll show you how to easily fix leverage browser caching warning in WordPress.

How to correct the notification of almacenamiento in hidden del navegador de palancamiento in WordPress How to Fix Browser Caching Warning in WordPress

What is Browser Caching in WordPress?

Browser caching is a way to improve your website loading speeds. When a web page loads, all of the files will be loaded separately.

This creates multiple requests between the browser and your WordPress hosting server, which increases the web page loading time.

When browser caching is enabled, your web browser stores a copy of your web page locally. This allows browsers to load common files like stylesheets, logo, images, etc faster when the user visits a second page on your site.

Resultados of the prueba of velocidad del site Site speed test results

This reduces the overall server load because fewer requests will be made to the actual server, and your website performance will improve as a result.

Where will You See the Leverage Browser Caching Warning for WordPress?

The leverage browser caching warning means that you don’t have browser caching enabled, or your caching could be set up the wrong way.

When you’re running a website speed test, you’ll get a report that shows you what you can fix to speed up WordPress.

If your website isn’t currently using browser caching, then you’ll get a warning to enable browser caching.

This is how it can look when looking at your results from a page speed insights tool.

Approve the advertencia of almacenamiento in hidden del navegador Take advantage of browser caching warning

Sometimes you’ll get a warning that says your efficient cache policy isn’t working.

Both of these warning refers to an error with your browser caching set up.

Advertencia de política de cache eficiente Effective cache strategy warning

Leveraging browser caching means activating and customizing the caching rules to speed up your site.

That being said, let’s take a look at how to easily fix leverage browser caching warning in WordPress using two different methods.

Simply use the quick links below to choose how you want to fix the leverage browser caching warning in WordPress.

  • Fix leverage browser caching warning using a plugin
  • Fix leverage browser caching warning with code

Method 1. Fix Leverage Browser Caching Warning with WP Rocket WordPress Plugin

WP Rocket is the best WordPress caching plugin in the market. It’s very beginner friendly and can help you optimize your site for speed, even without knowing complex caching and speed terms.

Cohete WP WP Rocket

Right out of the box, all of the recommended caching settings will really speed up your WordPress website.

To fix the leverage browser caching warning with WP Rocket, all you have to do is install and activate the plugin.

That’s it.

For more details, see our guide on how to properly install and setup WP Rocket in WordPress.

WP Rocket will automatically enable browser caching and modify your .htaccess file with the right rules.

Note: if you’re using SiteGround web hosting, then you can use the free SiteGround Optimizer plugin instead.

It has nearly the same features as WP Rocket, and it will automatically enable browser caching for you.

Method 2. Fix Leverage Browser Caching Warning by Adding Code to WordPress

The second method involves adding code to your WordPress files. If you haven’t done this before, then see our beginner’s guide to pasting snippets from the web into WordPress.

This method is not as beginner friendly, so please only follow this if you know exactly what you’re doing. For most business owners, we recommend using Method 1.

With that said, let’s take a look at how to fix leverage browser caching warning by adding code to WordPress.

Note: before you customize your WordPress code, we recommend backing up your WordPress site. For more details, see our guide on how to backup and restore your WordPress site.

Determine if Your Website is Running Apache or Nginx?

First, you need to figure out if your website is using Apache or Nginx servers.

To do this, open up your website in a new tab or window. Then, right click and select the ‘Inspect’ option.

Right click and inspect Right click and inspect

Next, click the ‘Network’ tab at the top of the page.

You may need to refresh the page for the results to load.

Click on the network Click on the network

After that, click your domain name in the ‘Name’ column.

It should be at the top of the page.

Click on the website URL Click on the website URL

Then, in the ‘Response Headers’ section, you’ll see an item called ‘server’ where the type of server is displayed. In this case, the site is running on an Apache server.

Find server type Find server type

Add Cache-Control and Expire Headers in Apache

To fix the leverage browser caching warning with an Apache server, you’re going to be adding code to your .htaccess file.

To edit this file, you need to connect to your WordPress hosting account with an FTP client or your host’s file manager tool.

After you’re connected, you can see your .htaccess file in your website’s root folder.

FTP htaccess FTP htaccess

If you can’t find it, then don’t worry. Sometimes this file can be hidden. For more details, see our guide on why you can’t find .htaccess file on your WordPress site.

Next, you need to add cache-control and/or expire headers to turn on browser caching. This tells the web browser how long it should store your website resources before they are deleted.

The cache-control header gives specific details to the web browser about how caching should be done.

The expires header enables caching and tells the web browser how long it should store specific files before being deleted.

You can add the following code to your .htaccess file to add expire headers:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

## EXPIRES HEADER CACHING ##

<IfModule mod_expires.c>

ExpiresActive On

ExpiresByType image/jpg “access 1 year”

ExpiresByType image/jpeg “access 1 year”

ExpiresByType image/gif “access 1 year”

ExpiresByType image/png “access 1 year”

ExpiresByType image/svg “access 1 year”

ExpiresByType text/css “access 1 month”

ExpiresByType application/pdf “access 1 month”

ExpiresByType application/javascript “access 1 month”

ExpiresByType application/x-javascript “access 1 month”

ExpiresByType application/x-shockwave-flash “access 1 month”

ExpiresByType image/x-icon “access 1 year”

ExpiresDefault “access 3 days”

</IfModule>

## EXPIRES HEADER CACHING ##

This code set different cache expiration dates based on the type of file.

After that, you can add the following code to enable cache-control:

1

2

3

<filesMatch “.(ico|pdf|flv|jpg|jpeg|png|gif|svg|js|css|swf)$”>

     Header set Cache-Control “max-age=96000, public”

</filesMatch>

This code sets the time for when the cache will expire. In the example above, the cache will expire in 90,000 seconds.

After that, the web browser will request new versions of the files.

Add Cache-Control and Expire Headers in Nginx

If you’re using an Nginx web server to host your WordPress blog, then you can edit the server configuration file to fix the browser caching error.

How you edit and access this file depends on your host, so you can reach out to your hosting provider if you need help accessing the file.

Then, you need to add the following code to add expire headers:

1

2

3

4

5

6

7

location ~* \.(jpg|jpeg|gif|png|svg)$ {

   expires 365d;

}

 

location ~* \.(pdf|css|html|js|swf)$ {

   expires 3d;

}

This code will set the expiration times for the different file types. Notice that images are cached longer than HTML, CSS, JS, and other file types since images usually stay the same.

After that, you can add the following code to add cache-control headers:

1

2

3

4

location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico)$ {

  expires 14d;

  add_header Cache-Control “public, no-transform”;

}

This code sets the time for when the cache will expire. It tells your server that the file types above won’t change for 14 days.

If you’re looking to speed up WordPress even more, then make sure to check out our guide on how to boost WordPress speed and performance.

We hope this article helped you learn how to easily fix leverage browser caching warning in WordPress. You may also want to see our ultimate list of the most common WordPress errors and how to fix them, and our expert picks of the best SEO tools and plugins to get more traffic.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Shares 899 Share Tweet Share Facebook Messenger WhatsApp Email

How to Leverage Browser Caching in WordPress

Posted on Updated September 23, 2021March 22, 2019 by WPDT Staff

How to Take Advantage of Browser Caching in WordPress How to Take Advantage of Browser Caching in WordPress

If you want to leverage browser caching in WordPress, you already know about the main benefit it has – it improves website loading speed.

This detail is highly important for people who encounter this issue. Luckily, there are tools such as Google PageSpeed Insights or GT matrix. These can tell you exactly what you want to know about your website’s performance, what you need to change if you have or don’t have browser caching enabled already, and a lot more.

Untitled-1-2 svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww

Ok, ok. So, what’s the big deal? Why do you need to leverage browser caching in WordPress?

This matter is discussed in detail below by our wpDataTables team, so continue reading and you will manage to leverage browser caching by the end of this article (fingers crossed).

Creating a visually pleasing website is no longer paramount when the loading times are so bad that they make users leave it in seconds.

You need to build a website with fast-loading pages and quality content. Every single person in contact with the Internet should know this. And the easiest way to make a website faster is if you leverage browser caching.

gt-metrix svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww

This concept will be explained later, but you should know that is the top recommendation of Google when it comes to loading times.

Normally, the loading speed of your website can be improved by up to 50%, as long as you use the proper methods.

What does browser caching have to do with it?

Let’s dig in.

Table of Contents

  • Leverage Browser Caching? What is that?
  • How does Leverage Browser Caching in WordPress work?
  • Differences between server caching and browser caching
  • Leverage Browser Caching in WordPress
  • NGINX Server and Browser Caching
  • Leverage Browser Caching in WordPress using plugins
  • Use Yoast SEO to edit the .htaccess file
  • Caching third-party resources

Leverage Browser Caching? What do you mean by that?

For those who don’t know why you need to leverage browser caching, it’s best to explain it in simpler words.

Caching represents the amount of time that browsers locally store the cacheable resources available on a website.

These resources include images, JavaScript, CSS, and others. Whenever a person accesses the website, the cacheable resources which are stored on your computer are uploaded back. The loading speed of the website is thus improved visibly. This is the reason why people want to leverage browser caching in WordPress.

How does Leverage Browser Caching in WordPress work?

page speed svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww

When a person accesses a certain domain, there are multiple processes happening in the background. Everything that composes your WordPress website is transmitted to the user’s browser, making the site visible. These components of the website include content, images, stylesheets, scripts, and more. They must be moved from the website’s server to the user’s browser whenever it is required. The steps behind this process are:

  1. The visitor types a URL in his browser
  2. The browser generates a request to the server where your website is hosted (the HTTP request)
  3. The server puts all data together and sends it to the user. This is the step where users notice a slowdown. To prevent this slowdown, people can reduce the size of the scrips, optimize the image sizes and so on.
  4. Once the data is transmitted, the browser is finally able to display the website. The process repeats when visitors access other pages. The server requests can be very numerous at once, which can lead to low performance. This is why people need to optimize their website, to keep it fast.

Cache content is used in both web browsers and software applications. It is stored temporarily on your local disk. This data is called ‘ Web Cache’ or ‘HTTP Cache‘. Whenever you visit the same website, the browser will upload the information stored on your computer and download the content from the website.

In order to check whether your WordPress website leverages browser caching correctly, you need to use a specific tool. The most popular one is Google PageSpeed Insights. Find out if everything works correctly by typing in your site’s URL.

Then click Analyze and let the tool do its magic. PageSpeed ​​should tell you how your website scores in terms of mobile and desktop optimization. The score ranges from 0 to 100, and you will also get suggestions on how to improve your website further. One of the most common suggestions is to opt for browser caching in WordPress.

Hey, did you know that data can also be beautiful?

wpDataTables can do it this way. There’s a good reason why this is the #1 WordPress plugin for creating responsive charts and graphs.

wpdt_example svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2FwwwA real example of wpDataTables in the wild

And it’s really easy to do something like this:

  1. You provide the table data
  2. Configurez-le et personnalisez-le
  3. Publiez-le dans un article ou une page

And it’s not just pretty, but also practical. You can make large tables with up to millions of rows, or you can use advanced filters and search, or you can go wild and make it editable.

“Yeah, but I just like Excel too much and there’s nothing like that on websites”. Yeah, there is. You can use conditional formatting like in Excel or Google Sheets.

Did I tell you you can create charts too with your data? And that’s only a small part. There are lots of other features for you.

Differences between server caching and browser caching

Any WordPress user should know more about server caching. This is a process that involves generating cached web pages for your website through the webserver. The steps above represent website caching, which is mainly on the server-side.

There are some ways in which you can improve the server caching system. The most recommended option would be updating headers on Apache. Using WordPress plugins would be the next step, and adding CDN follows it.

Leverage Browser Caching in WordPress

In order to leverage browser caching in WordPress, you need to use a bit of code. Don’t worry – it’s not as difficult as you may believe.

You just have to reach the .htaccess file, add a given piece of code and that’s it. Leveraging Browser Caching with the Htaccess file is the easiest and most effective method you should learn about.

The easiest and fastest way to make sure that your WordPress website is making the most out of both server-side and browser caching is to use a managed WordPress hosting, which pre-configures all the necessary settings for you.

Leverage browser caching in WordPress manually by doing these:

  1. Add Expires Headers
  2. Add Cache-Control Headers
  3. Turn ETags off

To do that, you need to follow the steps below:

  1. Access the website files

pl_file_manager_26 svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww

Start by logging in to your hosting account/cPanel. Navigate to the file manager. Here, you will find the website’s settings, where you need to Turn On the Hidden File option. Then, go to the website’s root directory and reach your .htaccess file.

It is usually located in /public_html/.htaccess. If the domain of your website is custom, you will find it under domainname/public_html/.htaccess. Right-click the file and edit it using the instructions you are given.

  1. Add the browser caching code in your .htaccess file

The next step is the simplest. Copy the code below and paste it at the end of your .htaccess file content. Don’t make any other changes in the file.

#Customize expires cache start – adjust the period according to your needs <IfModule mod_expires.c> FileETag MTime Size AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application /javascript application/x-javascript ExpiresActive On ExpiresByType text/html “600 seconds access” ExpiresByType application/xhtml+xml “600 seconds access” ExpiresByType text/css “1 month access” ExpiresByType text/javascript “1 month access” ExpiresByType text /x-javascript “1 month access” ExpiresByType app/javascript “1 month access” ExpiresByType app/x-javascript “1 month access” ExpiresByType app/x-shockwave-flash “1 month access” ExpiresByType app/pdf “1 month access “ExpiresByType image/x-icon “1 year access” ExpiresByType image/jpg “1 year access” ExpiresByType image/jpeg “1 year access” ExpiresByType image/png “1 year access” ExpiresByType image/gif “1 year access” “ExpiresDefault” access 1 month” </IfModule> #Expire end of cache

The settings included in the code above include a 600-second refresh/expiration time for HTML, and one month for CSS and JavaScript.

The purpose of this expiration period is to avoid having your visitors redownload the assets too often. If you perform changes in terms of assets more often, you can change the period according to your needs.

For people who want to leverage browser caching, altering the .htaccess file is the best option.

As you may see in the piece of code, images will expire after one year has passed. To add expires headers .htaccess, you need to change the file without damaging anything else.

However, some people don’t want to mess with their .htaccess file. If that is your situation, you can simply use a browser caching plugin. You will find out more about such plugins later in this article.

  1. Add cache-control headers via Apache

Copy the code below:

# BEGIN Cache-Control Headers <IfModule mod_expires.c> <IfModule mod_headers.c> <filesMatch “\.(ico|jpe?g|png|gif|swf)$”> Header append Cache-Control “public” </filesMatch > <filesMatch “\.(css)$”> Header add Cache-Control “public” </filesMatch> <filesMatch “\.(js)$”> Header add Cache-Control “private” </filesMatch > <filesMatch ” \.(x?html?|php)$”> Header append Cache-Control “private, must-revalidate” </filesMatch> </IfModule> </IfModule>

Setting an expiration date or maximum age in HTTP headers is no longer necessary because it was already set in the previous step, which means you don’t need to repeat it here.

  1. Disable Etags

Etags stands for Entity Tags and refers to new versions of cached files. Since you have already set cache control headers, there is no need to use ETags, so you can disable them to improve load times. Add the following piece of code to the .htaccess file:

<IfModule mod_headers.c> Header unset ETag </IfModule> FileETag None

Save the .htaccess file and you’re done!

NGINX server and browser caching

If your website uses NGINX, you’ll have to use other pieces of code because you won’t be able to find the .htaccess file. Again, it’s a very simple process that doesn’t require a lot of technical knowledge. Go to /etc/nginx/sites-enabled/default and paste this code there:

server { listen 80; server_name localhost; location / { root /usr/share/nginx/html; index index.html index.htm; } location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { expires 365d; } location ~* \.(pdf)$ { expires 30d; } } Add cache control headers location (NGINX) ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { expire 90d; add_header Cache-Control “public, without transformation”; }

Vous pouvez probablement dire que le délai d’expiration des fichiers image est fixé à 365 jours, soit l’équivalent d’un an. Les PDF expireront après seulement 30 jours. Vous pouvez personnaliser le code comme vous le souhaitez, comme dans le cas précédent.

Après avoir modifié NGINX, enregistrez le fichier et vous pouvez être assuré que vous avez activé la mise en cache du navigateur sur le serveur NGINX.

Tirez parti de la navigation dans WordPress à l’aide de plugins

Tweaking the .htaccess file where you don’t need it can ruin your entire website. Making one single mistake will lead to blank pages and errors, so it is perfectly understandable if you don’t want to alter the file yourself.

Luckily, there are plugins that can be useful, without you needing to learn how to enable Leverage Browser Caching in WordPress

manually. Installing a plugin can be done like this:

WP-leverage-plugin-1 WP-leverage-plugin-1

  1. Download the plugin – one example can be found here
  2. Navigate to Dashboard, Plugins and Add New
  3. Find “Leverage Browser Caching”
  4. Click Install Now
  5. Activate the plugin
  6. Test your website

There are other plugins you can use as well, and some of them are listed below. Choose them according to your requirements:

W3 Total Cache – WordPress plugin

W3 W3

Fixing Leverage Browser Caching in WordPress with the W3 Total Cache can be done by following the steps listed below:

  1. Download and install the W3 Total Cache WordPress plugin
  2. Navigate to General Settings and select Enable Browser Cache
  3. Click save and navigate to Browser Cache Settings (top of the page)
  4. Choose the cache headers available
  5. Set expires headers, cache-control, and ETag headers (based on the settings done before)
  6. Save all settings and refresh your website

WP Fastest Cache

wpfasset wpfasset

WP Fastest Cache is another plugin that you can use to enable browser caching in WordPress.

  1. Download and install the WP Fastest Cache.
  2. Go to plugin settings
  3. Select Browser Caching by checking the box
  4. Click on submit to apply the changes and that’s it

Cache Enabler – WordPress Cache

caching activator caching activator

This completes with more functions than can result in the future: can automate the hidden memory limpieza process, or can hack a manual, can manually purge the page, can minimize HTML and JavaScript, and much more. For us, simply:

  1. Install the plugin and activate it
  2. Ir to setup
  3. Haga click in Habilitar aprovechar el almacenamiento in hidden del navegador

Use Yoast SEO to edit .htaccess archives

leaven leaven

Also can edit the .htaccess archive into a more user-friendly method and complement Yoast SEO. The most used WordPress and SEO add-on from Yoast. Al usar ise complemento, puede editar el archive .htaccess easily. Si aún no tiene Yoast, debe instalarlo y activarlo de antemano. Después de eso, necesitas:

  1. Access to an SEO, luego a Herramientas.
  2. Navigate to the Archive Editor
  3. The .htaccess archive will be housed in a text editor where you can view the code fragments previously listed
  4. Keep the cambios

After performing the cambios, you can use Google PageSpeed ​​Insights to check if everything is fine after performing the cambios. If the website has found the cached cache of the browser correctly, it will list to start. De lo contrario, debe volver a realizar el proceso y ver lo que se ha perdido.

Almacenamiento in hidden of recursos of terceros

After realizing all the cambios decritos in this artículo, aún can obtain a mala puntuación al probbar la velocidad de su sitio web con varias herramientas. Google PageSpeed ​​​​​​Insights can reveal a mala pointuación debido a lotos scripts o services de terceros que se ejecutan detrás de su site web. Estos scripts no tienen un tiempo de caducidad prolongado debido a una multitud de razones.

If you receive messages for aprovechar el almacenamiento en cache del navegador dans WordPress después de seguir all possible consejos, no hay mucho que pueda hacer además de eliminar los scripts que no usa. A maximum of very deberia scripts will be sufficient for a website, así que asegúrese de limpiar su lista.

Después de hacer este cambio, all debería funcionar bien, y se suppose que el tiempo de cargo de su sitio web est lo más cercano possible à la perfection. In the event of a problem encountered on the sea muy específico y no tenga nada que ver con scripts de terceros, debe informarse al respecto y ver qué configuración cause el problema.

Thoughts finales sobre cómo aprovechar el almacenamiento cache del navegador en WordPress

Tenga en cuenta qu’est possible que no note los cambios qu’realiza immediatamente después de instalar un complemento. The reason for this return is the CSS/Stylesheet archive. El hidden del navegador que ya guardó en su computadora le impedirá ver los cambios que ha realizado. To see the web site correctly after realizing various cambios, it is recommended to visit it using the incognito function of its browser. Al usar esta función, no usará recursos de cache y debería poder ver los cambios correctlyamente.

Al final del día, el método que elija para aprovechar el almacenamiento en hid del navegador no es relevante. Lo único que importa es verlo en action. If you want to learn about the cached browser in WordPress, you will assume that you want to form it, no matter what. Can you choose the method with which you feel comfortable and the result will be the mismo. Ya sea que decida modificar el archivo .htaccess or usar un complemento, obtentiondrá better tiempos de cargo activando Aproveche el almacenamiento en cache del navegador.

If you are not reading the article below, you need to enable browser cached almacenamiento in WordPress, debe consultar ise sobre cómo accelerar WordPress .

Also ecribimos sobre algunos relacionados temas, como el complemento de la base de datos de WordPress , el complemento de carga diferida de WordPress , las options del complemento de cache de WordPress and les services de CDN .

  • WordPress


Video WordPress leverage browser caching

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…

Remove page title in wordpress

Contents1 How to hide titles of pages and publications in WordPress1.1 ¿Apurado? Save this article as a PDF.1.2 Contents1.3 SEO Considerations1.4 What’s the Difference Between Title Tag…