seo site checkup logo
PricingFree ToolsArticles

Image Caching Test

What is it?

Checks if your page is using an image expires tag, which specifies a future expiration date for your images. Browsers will see this tag and cache the image until the specified date (it doesn't re-fetch the unchanged image from your server). This speeds up your site the next time returning visitors arrive at your site and require the same image.

Pass rate:

  • Top 100 websites: 97%
  • All websites: 81%
Pass rates of Top 100 US websites
2021

99%

2022

98%

2023

97%

100

75

50

25

0

How do I fix it ?

In order to reduce the number of HTTP requests, you can use the HTTP Expires header to set an expiration time for your images or any other content type. You can add the following lines into your .htaccess file:
<IfModule mod_expires.c>
    ExpiresActive on
 
    ExpiresByType image/jpg "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
</IfModule>
Check your website's SEO for free right now!

seo site checkup logo
Website SEO, Monitoring & Automation Made Easy.
Product
  • Pricing
  • Free Tools
  • Articles
  • Login
  • Free 7-Day Trial
© SEO Site Checkup 2020-2024 • All rights reserved