Using the Expires Module

Discuss hot database and enhance operational efficiency together.
Post Reply
anglehimu
Posts: 101
Joined: Sun Dec 22, 2024 4:47 am

Using the Expires Module

Post by anglehimu »

With this second method, however, we can adequately resolve the issue by setting a time frame in which the browser can use the resource in memory without having to check the availability of a younger one.

As for the previous one, let's see the type of instructions to always use in the .htaccess file :


More easily understood than the first, it explicitly states for each file type the the usage of instagram database period of time that must pass before the browser makes the request again.

The module is declared made operational ( ExpiresActive On ) and then put into action on each extension that we find convenient to control at that moment. The expiration date is in this case explicitly stated in verbal form, and obviously, always in English.

2. Use Gzip compression
Compression is enabled on web servers, and significantly reduces the size of resources such as HTML page output, JavaScript files, and style sheets when the data is downloaded by the browser.

NB: He does not work on images, which follow a different process.

How does it work?
In short, the browser of the user who arrives on the page in question receives the compressed resources and decompresses them instantly , saving a lot (in some situations up to almost 80%) on the retrieval time and therefore on the loading time of the page itself.

Gzip compression has been in use on most popular browsers for many years, but it should be checked and understood if it is active for our web server.

How to Check if Gzip Compression is Enabled
There is more than one way to verify the accuracy of the thing, but the fastest and simplest, which does not require in-depth technical knowledge, is to use one of the many free services such as gidnetwork or websiteplanet where you only need to enter the URL of the site in question to verify that everything is already active.
Post Reply