Step 1: Login to the cPanel account. Step 2: Select File Manager option under File section. Step 3: Click settings option inr right top and check the boxes to view the hidden files in File Manager. Step 4: Select the .htaccess file and select Edit and open the file. Step 5: Update the below rules, In order to reduce the load times of web pages by storing commonly used files from your website on your visitors browser
<IfModule mod_expires.c> ExpiresActive on ExpiresByType text/css "access plus 14 days" ExpiresByType text/xml "access plus 0 seconds" ExpiresByType text/javascript "access plus 14 days" ExpiresByType application/x-javascript "access plus 14 days" ExpiresByType image/ico "access plus 14 days" ExpiresByType image/jpg "access plus 14 days" ExpiresByType image/jpeg "access plus 14 days" ExpiresByType image/gif "access plus 14 days" ExpiresByType image/png "access plus 14 days" ExpiresByType image/svg+xml "access plus 1 month" ExpiresByType text/html "access plus 14 days" ExpiresByType video/ogg "access plus 1 month" ExpiresByType audio/ogg "access plus 1 month" ExpiresByType video/mp4 "access plus 1 month" ExpiresByType video/webm "access plus 1 month" ExpiresByType application/x-font-woff "access plus 1 month" ExpiresByType application/vnd.ms-fontobject "access plus 1 month" ExpiresByType application/xml "access plus 0 seconds" ExpiresByType application/json "access plus 0 seconds" ExpiresByType application/rss+xml "access plus 1 hour" ExpiresByType application/atom+xml "access plus 1 hour" </IfModule> Step 6: Click Save changes button to completed the process.