I am working on a web page and it is already uploaded to the hosting (but since I still have to fix some little thing, I have closed the access). The issue is that I opened it for a moment to see what Google was telling me in its website loading speed tools, and I've gotten some errors that I haven't been able to solve. It is the first time that I do a web project.
This is one of the errors that it gives me but the truth is that I had never heard of this and although I have read information about it, I do not understand how to fix it :(
Specify browser cache Setting an expiration date or maximum age in the HTTP headers of static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Thank you very much for the help :)
Specifying the cache is basically telling the browser how long it should keep files (css, images, javascript, etc) stored in its cache before being deleted or updated.
You must create or edit the .htaccess file with content similar to the following
You can specify days (Days), months (Months) and years (Years).
This site is recommended for the solution of each Google item: https://varvy.com/ , this topic is a science.