Welcome to TalkGraphics.com
Results 1 to 10 of 11

Threaded View

  1. #1
    Join Date
    Aug 2000
    Location
    Harwich, Essex, England
    Posts
    21,919

    Default Despite having <IfModule mod_expires.c> within my .htaccess file ....

    Despite having <IfModule mod_expires.c> within my .htaccess file I still get marked down using pingdom and google lighthouse for not having them. I can't understand this, can anyone assist please.

    UPDATE Only showing on pingdom now.

    Here's the content of my .htaccess file:

    ErrorDocument 404 https://parkeston.com/404.htm

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 week"
    ExpiresByType image/@2xjpg "access 1 week"
    ExpiresByType image/jpeg "access 1 week"
    ExpiresByType image/gif "access 1 week"
    ExpiresByType image/png "access 1 week"
    ExpiresByType image/@2xpng "access 1 week"
    ExpiresByType image/webp "access 1 week"
    ExpiresByType image/@2xwebp "access 1 week"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType application/javascript "access 1 month"
    ExpiresByType application/jquery.js "access 1 month"
    ExpiresByType application/roe.js "access 1 month"
    ExpiresByType application/prs4.js "access 1 month"
    ExpiresByType application/ani.css "access 1 month"
    ExpiresByType application/xr_main.css "access 1 month"
    ExpiresByType application/xr_text.css "access 1 month"
    ExpiresByType application/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 year"
    ExpiresByType image/x-icon "access 1 year"
    </IfModule>
    ## EXPIRES CACHING##
    Last edited by Egg Bramhill; 11 October 2021 at 10:10 PM. Reason: update
    Egg

    Intel i7 - 4790K Quad Core + 16 GB Ram + NVIDIA Geforce GTX 1660 Graphics Card + MSI Optix Mag321 Curv monitor
    + Samsung 970 EVO Plus 500GB SSD + 232 GB SSD + 250 GB SSD portable drive + ISP = BT + Web Hosting = TSO Host

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •