• Resolved babydragon0123

    (@babydragon0123)


    I have problem with browser cache. I turn on Browser cache but gtmetrix always show need to improve “Serve static assets with an efficient cache policy”
    Here is the test link. Please help me how to solve this. Thank you very much
    https://drive.google.com/file/d/1p2YDKHWCwkERnJZcR2OAIUXAFlPySkzK/view?usp=sharing
    https://i.imgur.com/bVKTyCI.png

    Here is my litespeed report

    Server Variables
        SERVER_SOFTWARE = LiteSpeed
        HTTP_X_LSCACHE = on,esi,crawler,combine
        DOCUMENT_ROOT = /home/khoaketoanctec.tk/public_html
        X-LSCACHE = on,crawler
        LSWCP_TAG_PREFIX = 81b
        WP_SITEURL = NULL
        WP_HOME = NULL
        WP_CONTENT_DIR = /home/khoaketoanctec.tk/public_html/wp-content
        SHORTINIT = false
        LSCWP_CONTENT_DIR = /home/khoaketoanctec.tk/public_html/wp-content
        LSCWP_CONTENT_FOLDER = wp-content
        LSCWP_DIR = /home/khoaketoanctec.tk/public_html/wp-content/plugins/litespeed-cache/
        LITESPEED_TIME_OFFSET = 25200
        LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ADC
        LITESPEED_CLI = NULL
        LITESPEED_ALLOWED = true
        LITESPEED_ON = true
        LSWCP_TAG_PREFIX = 81b
        COOKIEHASH = 013ae2e98fa1bebaf1bbc1e791535ee9
    
    Wordpress Specific Extras
        wordpress version = 5.7
        siteurl = https://khoaketoanctec.tk
        home = https://khoaketoanctec.tk
        home_url = https://khoaketoanctec.tk
        locale = vi
        active theme = Avada Child
        active plugins = array (
      1 => 'contact-form-7/wp-contact-form-7.php',
      2 => 'disable-xml-rpc/disable-xml-rpc.php',
      3 => 'filebird-pro/filebird.php',
      4 => 'fusion-builder/fusion-builder.php',
      5 => 'fusion-core/fusion-core.php',
      6 => 'fusion-white-label-branding/fusion-white-label-branding.php',
      7 => 'litespeed-cache/litespeed-cache.php',
      8 => 'pwa/pwa.php',
      9 => 'revslider/revslider.php',
      10 => 'sucuri-scanner/sucuri.php',
      11 => 'svg-support/svg-support.php',
      12 => 'tinymce-advanced/tinymce-advanced.php',
      13 => 'wordfence/wordfence.php',
      14 => 'wp-smush-pro/wp-smush.php',
    )
        cloud = array (
      'curr_request.wp/ver' => 0,
      'last_request.wp/ver' => 1615887174,
      'news.utime' => 1615792007,
      'curr_request.wp/news' => 0,
      'last_request.wp/news' => 1615792007,
      'token_ts' => 1615887217,
      'is_linked' => 1,
      'apikey_ts' => 1615887262,
      'curr_request.d/usage' => 0,
      'last_request.d/usage' => 1615887358,
      'usage.img_optm' => 
      array (
        'total_used' => '0',
        'used' => '0',
        'quota' => '5000',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '2',
      ),
      'usage.ccss' => 
      array (
        'total_used' => '6',
        'used' => '6',
        'quota' => '500',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '2',
      ),
      'usage.lqip' => 
      array (
        'total_used' => '0',
        'used' => '0',
        'quota' => '500',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '2',
      ),
      'usage.cdn' => 
      array (
        'total_used' => '1',
        'used' => '1',
        'quota' => '50',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '2',
      ),
      'usage.health' => 
      array (
        'total_used' => '8',
        'used' => '8',
        'quota' => '500',
        'pag_used' => '0',
        'pag_bal' => '0',
        'pkgs' => '2',
      ),
      'curr_request.d/nodes' => 0,
      'last_request.d/nodes' => 1615902479,
      'server.ccss' => 'https://node229.quic.cloud',
      'server_date.ccss' => 1615887362,
      'curr_request.ccss' => 0,
      'last_request.ccss' => 1615887362,
      'curr_request.d/sync_conf' => 0,
      'last_request.d/sync_conf' => 1615902415,
      'server.health' => 'https://node229.quic.cloud',
      'server_date.health' => 1615902480,
      'curr_request.health-speed' => 0,
      'last_request.health-speed' => 1615902480,
      'curr_request.health-score' => 0,
      'last_request.health-score' => 1615902494,
    )
    
    LSCache Plugin Options
        _version = 3.6.4
        hash = tjKwUMfRNfoWr9y4vdwTufMWumQuoTtM
        auto_upgrade = true
        api_key = 7F76BA1989403942E1F4A4344E619787
        server_ip = 94.237.69.10
        news = true
        cache = true
        cache-priv = true
        cache-commenter = true
        cache-rest = true
        cache-page_login = true
        cache-favicon = true
        cache-resources = true
        cache-mobile = false
        cache-mobile_rules = array (
      0 => 'Mobile',
      1 => 'Android',
      2 => 'Silk/',
      3 => 'Kindle',
      4 => 'BlackBerry',
      5 => 'Opera Mini',
      6 => 'Opera Mobi',
    )
        cache-browser = true
        cache-exc_useragents = array (
    )
        cache-exc_cookies = array (
    )
        cache-exc_qs = array (
    )
        cache-exc_cat = array (
    )
        cache-exc_tag = array (
    )
        cache-force_uri = array (
    )
        cache-force_pub_uri = array (
    )
        cache-priv_uri = array (
    )
        cache-exc = array (
    )
        cache-exc_roles = array (
      0 => 'administrator',
    )
        cache-drop_qs = array (
      0 => 'fbclid',
      1 => 'gclid',
      2 => 'utm*',
      3 => '_ga',
    )
        cache-ttl_pub = 604800
        cache-ttl_priv = 1800
        cache-ttl_frontpage = 604800
        cache-ttl_feed = 604800
        cache-ttl_rest = 604800
        cache-ttl_browser = 31557600
        cache-ttl_status = array (
      0 => '403 3600',
      1 => '404 3600',
      2 => '500 3600',
    )
        cache-login_cookie = 
        cache-vary_group = array (
      'administrator' => '99',
      'author' => '0',
      'contributor' => '0',
      'editor' => '0',
      'subscriber' => '0',
    )
        purge-upgrade = true
        purge-stale = false
        purge-post_all = false
        purge-post_f = true
        purge-post_h = true
        purge-post_p = true
        purge-post_pwrp = true
        purge-post_a = true
        purge-post_y = false
        purge-post_m = true
        purge-post_d = false
        purge-post_t = true
        purge-post_pt = true
        purge-timed_urls = array (
    )
        purge-timed_urls_time = 
        purge-hook_all = array (
      0 => 'switch_theme',
      1 => 'wp_create_nav_menu',
      2 => 'wp_update_nav_menu',
      3 => 'wp_delete_nav_menu',
      4 => 'create_term',
      5 => 'edit_terms',
      6 => 'delete_term',
      7 => 'add_link',
      8 => 'edit_link',
      9 => 'delete_link',
    )
        esi = false
        esi-cache_admbar = true
        esi-cache_commform = true
        esi-nonce = array (
      0 => 'stats_nonce',
      1 => 'subscribe_nonce',
    )
        util-instant_click = false
        util-no_https_vary = false
        debug-disable_all = false
        debug = 0
        debug-ips = array (
      0 => '127.0.0.1',
    )
        debug-level = false
        debug-filesize = 3
        debug-cookie = false
        debug-collaps_qs = false
        debug-inc = array (
    )
        debug-exc = array (
    )
        db_optm-revisions_max = 0
        db_optm-revisions_age = 0
        optm-css_min = true
        optm-css_comb = true
        optm-css_comb_ext_inl = true
        optm-ucss = false
        optm-ucss_async = false
        optm-css_http2 = true
        optm-css_exc = array (
    )
        optm-js_min = true
        optm-js_comb = true
        optm-js_comb_ext_inl = true
        optm-js_http2 = true
        optm-js_exc = array (
      0 => 'jquery.js',
      1 => 'jquery.min.js',
    )
        optm-ttl = 604800
        optm-html_min = true
        optm-qs_rm = false
        optm-ggfonts_rm = false
        optm-css_async = true
        optm-ccss_gen = true
        optm-ccss_async = true
        optm-css_async_inline = true
        optm-css_font_display = 0
        optm-js_defer = true
        optm-js_inline_defer = 0
        optm-emoji_rm = true
        optm-noscript_rm = true
        optm-ggfonts_async = false
        optm-exc_roles = array (
      0 => 'administrator',
    )
        optm-ccss_con = 
        optm-js_defer_exc = array (
      0 => 'jquery.js',
      1 => 'jquery.min.js',
    )
        optm-dns_prefetch = array (
    )
        optm-dns_prefetch_ctrl = true
        optm-exc = array (
    )
        optm-ccss_sep_posttype = array (
    )
        optm-ccss_sep_uri = array (
    )
        object = true
        object-kind = false
        object-host = localhost
        object-port = 11211
        object-life = 360
        object-persistent = true
        object-admin = true
        object-transients = true
        object-db_id = 0
        object-user = 
        object-pswd = 
        object-global_groups = array (
      0 => 'users',
      1 => 'userlogins',
      2 => 'usermeta',
      3 => 'user_meta',
      4 => 'site-transient',
      5 => 'site-options',
      6 => 'site-lookup',
      7 => 'blog-lookup',
      8 => 'blog-details',
      9 => 'rss',
      10 => 'global-posts',
      11 => 'blog-id-cache',
    )
        object-non_persistent_groups = array (
      0 => 'comment',
      1 => 'counts',
      2 => 'plugins',
      3 => 'wc_session_id',
    )
        discuss-avatar_cache = false
        discuss-avatar_cron = false
        discuss-avatar_cache_ttl = 604800
        optm-localize = false
        optm-localize_domains = array (
      0 => '### Popular scripts ###',
      1 => 'https://platform.twitter.com/widgets.js',
      2 => 'https://www.google.com/recaptcha/api.js',
      3 => 'https://www.google-analytics.com/analytics.js',
      4 => 'https://www.googletagmanager.com/gtm.js',
      5 => 'https://www.googletagservices.com/tag/js/gpt.js',
      6 => 'https://connect.facebook.net/en_US/fbevents.js',
    )
        media-lazy = false
        media-lazy_placeholder = 
        media-placeholder_resp = false
        media-placeholder_resp_color = #cfd4db
        media-placeholder_resp_svg = <svg xmlns="https://www.w3.org/2000/svg" width="{width}" height="{height}" viewBox="0 0 {width} {height}"><rect width="100%" height="100%" fill="{color}"/></svg>
        media-lqip = false
        media-lqip_qual = 4
        media-lqip_min_w = 150
        media-lqip_min_h = 150
        media-placeholder_resp_async = true
        media-iframe_lazy = false
        media-lazyjs_inline = false
        media-lazy_exc = array (
    )
        media-lazy_cls_exc = array (
      0 => 'wmu-preview-img',
    )
        media-lazy_parent_cls_exc = array (
    )
        media-iframe_lazy_cls_exc = array (
    )
        media-iframe_lazy_parent_cls_exc = array (
    )
        media-lazy_uri_exc = array (
    )
        media-lqip_exc = array (
    )
        img_optm-auto = false
        img_optm-cron = true
        img_optm-ori = true
        img_optm-rm_bkup = false
        img_optm-webp = false
        img_optm-lossless = false
        img_optm-exif = false
        img_optm-webp_replace = false
        img_optm-webp_attr = array (
      0 => 'img.src',
      1 => 'div.data-thumb',
      2 => 'img.data-src',
      3 => 'div.data-large_image',
      4 => 'img.retina_logo_url',
      5 => 'div.data-parallax-image',
      6 => 'video.poster',
    )
        img_optm-webp_replace_srcset = false
        img_optm-jpg_quality = 82
        crawler = true
        crawler-usleep = 500
        crawler-run_duration = 400
        crawler-run_interval = 600
        crawler-crawl_interval = 302400
        crawler-threads = 3
        crawler-timeout = 30
        crawler-load_limit = 1
        crawler-sitemap = 
        crawler-drop_domain = true
        crawler-map_timeout = 120
        crawler-roles = array (
    )
        crawler-cookies = array (
    )
        misc-htaccess_front = 
        misc-htaccess_back = 
        misc-heartbeat_front = false
        misc-heartbeat_front_ttl = 60
        misc-heartbeat_back = false
        misc-heartbeat_back_ttl = 60
        misc-heartbeat_editor = false
        misc-heartbeat_editor_ttl = 15
        cdn = false
        cdn-ori = array (
      0 => '//khoaketoanctec.tk/',
    )
        cdn-ori_dir = array (
      0 => 'wp-content',
      1 => 'wp-includes',
    )
        cdn-exc = array (
    )
        cdn-quic = true
        cdn-cloudflare = false
        cdn-cloudflare_email = 
        cdn-cloudflare_key = 
        cdn-cloudflare_name = 
        cdn-cloudflare_zone = 
        cdn-mapping = array (
      0 => 
      array (
        'url' => 'false',
        'inc_img' => true,
        'inc_css' => true,
        'inc_js' => true,
        'filetype' => 
        array (
          0 => '.aac',
          1 => '.css',
          2 => '.eot',
          3 => '.gif',
          4 => '.jpeg',
          5 => '.js',
          6 => '.jpg',
          7 => '.less',
          8 => '.mp3',
          9 => '.mp4',
          10 => '.ogg',
          11 => '.otf',
          12 => '.pdf',
          13 => '.png',
          14 => '.svg',
          15 => '.ttf',
          16 => '.woff',
        ),
      ),
    )
        cdn-attr = array (
      0 => '.src',
      1 => '.data-src',
      2 => '.href',
      3 => '.poster',
      4 => 'source.srcset',
    )
        _cache = true
    
    /home/khoaketoanctec.tk/public_html/.htaccess contents:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    <IfModule LiteSpeed>
    RewriteEngine on
    CacheLookup on
    RewriteRule .* - [E=Cache-Control:no-autoflush]
    RewriteRule \.object-cache\.ini - [F,L]
    
    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###
    
    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
    ### marker FAVICON end ###
    
    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS end ###
    
    </IfModule>
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    # END LSCACHE
    # BEGIN NON_LSCACHE
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    ### marker BROWSER CACHE start ###
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType application/pdf A31557600
    ExpiresByType image/x-icon A31557600
    ExpiresByType image/vnd.microsoft.icon A31557600
    ExpiresByType image/svg+xml A31557600
    
    ExpiresByType image/jpg A31557600
    ExpiresByType image/jpeg A31557600
    ExpiresByType image/png A31557600
    ExpiresByType image/gif A31557600
    ExpiresByType image/webp A31557600
    
    ExpiresByType video/ogg A31557600
    ExpiresByType audio/ogg A31557600
    ExpiresByType video/mp4 A31557600
    ExpiresByType video/webm A31557600
    
    ExpiresByType text/css A31557600
    ExpiresByType text/javascript A31557600
    ExpiresByType application/javascript A31557600
    ExpiresByType application/x-javascript A31557600
    
    ExpiresByType application/x-font-ttf A31557600
    ExpiresByType application/x-font-woff A31557600
    ExpiresByType application/font-woff A31557600
    ExpiresByType application/font-woff2 A31557600
    ExpiresByType application/vnd.ms-fontobject A31557600
    ExpiresByType font/ttf A31557600
    ExpiresByType font/otf A31557600
    ExpiresByType font/woff A31557600
    ExpiresByType font/woff2 A31557600
    
    </IfModule>
    ### marker BROWSER CACHE end ###
    
    ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
    # END NON_LSCACHE

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

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cache Woff not working’ is closed to new replies.