WordPress Leveraging Browser Caching via .htaccess
UnivaHost
Last Update viisi vuotta sitten
Editing your htaccess file
In your WordPress root location, find the htaccess file. (Because it has an (.) it means it is a hidden file so you must enable the “show hidden file” feature). Always make a backup before editing the htaccess file. You can download a copy via FTP, save a backup and edit then upload the modified version. Edit the file directly using; Cpanel from your host account.
Adding expires Header
Adding cache control headers
Disabling the Etag header
Deflating compression headers
