• I have installed WordPress on google cloud and tested the site on webpagetest.org but it is showing –

    
    FAILED - (No max-age or expires) - https://www.abogadocriminalistava.com/wp-includes/css/dist/block-library/style.min.css?ver=5.4.2
    FAILED - (No max-age or expires) - https://www.abogadocriminalistava.com/wp-includes/js/wp-embed.min.js?ver=5.4.2
    FAILED - (No max-age or expires) - https://www.abogadocriminalistava.com/wp-includes/js/wp-emoji-release.min.js?ver=5.4.2
    FAILED - (No max-age or expires) - https://www.abogadocriminalistava.com/wp-content/uploads/2020/06/Why_Select_Our_firm_alg_marketing_ws2_spanish_v3.jpg
    FAILED - (No max-age or expires) - https://www.abogadocriminalistava.com/wp-content/uploads/2020/06/Why_Select_Our_firm_alg_marketing-1024x582.jpg
    --------------------------------------------------
    

    I added Leverage code on .htaccess file, below is the code –

    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    ExpiresActive On
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType application/javascript "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresDefault "access 1 month"
    
    </IfModule>
    

    Any expert can help me to fix this issue please.

    • This topic was modified 4 years, 8 months ago by Steven Stern (sterndata).
    • This topic was modified 4 years, 8 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Google Cloud- Leverage browser caching of static assets’ is closed to new replies.