Propel your WP site with really static


Have you ever wondered if there was a way to make your WordPress site much faster when loading your "static" pages?
You will tell me that there is the excellent w3 total cache (which we use for Beldy) and that does wonders side optimization of content cache. However, in my research, I got in the lead that it was possible to do better, that it was possible to make this whole process much more effective if we changed approach.

How does w3 total cache work?

Skip this game if you are already familiar with w3 total cache.
W3 total cache will put a "tag" expiration on each static element of the site, if for example a visitor will want to open, the server that will send him the entire content is going to tell him if such or such resource is static and therefore will not be subject to a change. The logo of the site for example is a simple static. PNG image, so your browser will save it in its cache so as not to have to re-download the server freeing up the bandwidth and sparing your connection of an unnecessary HTTP request. If we decide to change this file, your browser will be notified using a return code in the header that this resource has been changed and will reload it from the server. Then imagine the drastic gain in loading performance.
W3 total cache does not stop there, it also allows you to create a cache of the site database. If you visit an article, the SQL query that was used to retrieve the article is cached in a file thus facilitating its reading and then reducing the number of SQL queries sent to the database.
These techniques are very useful and can save valuable resources for both the server and the client.

And really static works the same way?

Propel your WordPress site with really static

Yes, but really static pushes the concept a little further. When you visit a dynamic page, it is initially in. php, the server processes it, transforms it into. html and sends it to you. Until then, I don't teach you anything new. Imagine that this HTML page is saved on the server in such a way that it is served to you instead of the. php page until there has been a change.
The server will only serve you a simple static page until there has been a concrete change in the content. More SQL queries, more processing of pages. php, just HTML that transited from the server to the client.
This plugin proves to be very useful if you have a very large site under WordPress and you find that w3 total cache is not enough for your needs.
Hoping that this little discovery is useful to you!

Laisser un commentaire

Contenu non disponible.
Merci d’accepter les cookies en cliquant sur « Accepter » sur la bannière.

Ce site utilise Akismet pour réduire les indésirables. En savoir plus sur comment les données de vos commentaires sont utilisées.

En continuant à utiliser le site, vous acceptez l’utilisation des cookies. Plus d’informations

Les paramètres des cookies sur ce site sont définis sur « accepter les cookies » pour vous offrir la meilleure expérience de navigation possible. Si vous continuez à utiliser ce site sans changer vos paramètres de cookies ou si vous cliquez sur "Accepter" ci-dessous, vous consentez à cela.