a: We will provide answers for a few hosted solutions to save time:
- For IIS
- Select the Site on the left.
- Double-Click "HTTP Response Headers" in the middle
- Click "Set Common Headers" on the right
- Check (X) Expire Web Content
- Check (X) After 7 Days (Google Recommended)
- For Apache
- edit the .htaccess file to include these lines for 1 day
<FilesMatch ".(jpg|jpeg|png|gif|css|js|ico)$">
Header set Cache-Control "max-age=86400, public"
</FilesMatch>
No comments:
Post a Comment