• Resolved raha1988ab

    (@raha1988ab)


    Hi dear Support Team

    1-Serve static assets with an efficient cache policy
    There are lots of .mp4/woff/woff2/png files that have no CACHE TTL or just 1week ttl
    https://prnt.sc/AhbiAm19HjzU

    but in my .htaccess file I see these : A315576000 means 180 days to expire

    ### marker BROWSER CACHE start ###
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType application/pdf A315576000
    ExpiresByType image/x-icon A315576000
    ExpiresByType image/vnd.microsoft.icon A315576000
    ExpiresByType image/svg+xml A315576000
    
    ExpiresByType image/jpg A315576000
    ExpiresByType image/jpeg A315576000
    ExpiresByType image/png A315576000
    ExpiresByType image/gif A315576000
    ExpiresByType image/webp A315576000
    
    ExpiresByType video/ogg A315576000
    ExpiresByType audio/ogg A315576000
    ExpiresByType video/mp4 A315576000
    ExpiresByType video/webm A315576000
    
    ExpiresByType text/css A315576000
    ExpiresByType text/javascript A315576000
    ExpiresByType application/javascript A315576000
    ExpiresByType application/x-javascript A315576000
    
    ExpiresByType application/x-font-ttf A315576000
    ExpiresByType application/x-font-woff A315576000
    ExpiresByType application/font-woff A315576000
    ExpiresByType application/font-woff2 A315576000
    ExpiresByType application/vnd.ms-fontobject A315576000
    ExpiresByType font/ttf A315576000
    ExpiresByType font/otf A315576000
    ExpiresByType font/woff A315576000
    ExpiresByType font/woff2 A315576000
    
    </IfModule>
    ### marker BROWSER CACHE end ###

    But GTmetrix could not detect that !

    2-remove unused Java Scripts / this file belongs to Litespeed chache plugin and was repated 6 times on Iteams in Gtmetrix :
    *Use passive listeners to improve scrolling performance
    *Reduce unused JavaScript
    *Avoid long main-thread tasks
    *Reduce JavaScript execution time
    *Avoid serving legacy JavaScript to modern browsers
    please see the images :
    https://prnt.sc/bwMd6iLEZqo0
    https://prnt.sc/DxIfdR9-gln2
    Is there any suggestion to solve that ?

    3-Based on Litespeed dos not support Perload the font yeat , I found the code for that and suould put in htaccess file

    Header add Link "</wp-content/themes/betheme/fonts/fontawesome/fa-solid-900.woff2>; rel=preload; as=font; crossorigin=anonymous"
    Header add Link "</wp-content/themes/betheme/fonts/mfn/icons.woff?31690507>; rel=preload; as=font; crossorigin=anonymous"

    but it’s not working and still get error of Avoid chaining critical requests
    Can you please tell me or guid me what should I do for this one ?

    Thanks alot
    I love you Litespeed Cache Plugin and Team

Viewing 11 replies - 1 through 11 (of 11 total)
  • serpentdriver

    (@serpentdriver)

    but in my .htaccess file I see these : A315576000 means 180 days to expire

    This is the expire header and not the header for cache-control. The solution you are looking for can be found in documentation:

    https://docs.litespeedtech.com/lscache/lscwp/cache/#browser-tab

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please provide the report number , you can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter raha1988ab

    (@raha1988ab)

    Hi and thanks for reply
    Report Number : WWMTZIEC / ZUPQXNRS
    I also send you email in support @ litespeedtech.com and sent you login crediantal
    Regards

    Thread Starter raha1988ab

    (@raha1988ab)

    Hi
    is everything all right?
    Is there any update?
    Please keep me posted.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    sorry for late response on weekend

    someone will check on your mail and reply you there.

    best regards,

    Thread Starter raha1988ab

    (@raha1988ab)

    Hi dear @qtwrk
    Thanks for reply
    Yes I know , and I’m waiting for …
    Best regards

    Thread Starter raha1988ab

    (@raha1988ab)

    After a week I still need your help and no one contact me via email.
    Would you please help me @qtwrk ?
    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    now that is weird , did you receive ticket number ?

    let me konw the ticket numbe, i will check it out

    Thread Starter raha1988ab

    (@raha1988ab)

    Yes it is

    This is new report number:
    Report number: OLZLUYZY

    Thanks

    Thread Starter raha1988ab

    (@raha1988ab)

    Exellent @qtwrk

    Thread Starter raha1988ab

    (@raha1988ab)

    Removed the htaccess file and agian recrated with wordpress permalink and saved changes in Litespeed Cache .
    Also I Increased the value for browser cache to: 31536000; purged the cache in plugin.

    Report number: AAWQVEAL
    Report date: 03/11/2022 09:05:35

    Stil the same…

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘GT Metrix Errors’ is closed to new replies.