220.127.116.11. Browser static caching
Caching settings affect only the resources downloaded by the browser from our server. For resources loaded from third-party services, caching must be configured directly on the side of these services.
Using browser caching can speed up the loading of the site on repeat visits and reduce the number of requests to the server. The bottom line is that when you first visit the site, the server tells the browser how long it needs to store copies of the downloaded static files. When re-accessing the site, the browser already uses the local copies of the files saved in the cache and does not contact the server to get them.
- Openup site settings.
- Wait approximately 15-30 minutes for the changes to take effect.
Individual caching period by file type
Setting up caching through the control panel sets a single period for all types of static files. If you need to set individual caching periods for certain types of files, do the following:
- Take away from list of static files file extensions for which you want to set an individual cache period.
- Write the caching directives in the file .htaccess.
Examples of caching directives: