Change Query String URL Cache Expire Time

Discussion in 'LiteSpeed Cache Plugin For WordPress' started by hero, Feb 22, 2018.

  1. hero

    hero New Member

    Hey guys,
    What would I add to my .htaccess file to expire query string URLs to expire sooner than 7 days.

    I.e. from webpagetest.org:
    Code:
    WARNING - (7.0 days) - http://domain.com/wp-content/themes/twentyseventeen/style.css?ver=4.9.4
    WARNING - (7.0 days) - http://domain.com/wp-includes/js/jquery/jquery.js?ver=1.12.4
    WARNING - (7.0 days) - http://domain.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
    WARNING - (7.0 days) - http://domain.com/wp-content/themes/twentyseventeen/assets/js/skip-link-focus-fix.js?ver=1.0
    WARNING - (7.0 days) - http://domain.com/wp-content/themes/twentyseventeen/assets/js/global.js?ver=1.0
    WARNING - (7.0 days) - http://domain.com/wp-content/themes/twentyseventeen/assets/js/jquery.scrollTo.js?ver=2.1.2
    WARNING - (7.0 days) - http://domain.com/wp-includes/js/wp-embed.min.js?ver=4.9.4
    WARNING - (7.0 days) - http://domain.com/wp-content/themes/twentyseventeen/assets/images/header.jpg
    WARNING - (7.0 days) - http://domain.com/wp-includes/js/wp-emoji-release.min.js?ver=4.9.4
    Thanks!
     
    Last edited by a moderator: Feb 23, 2018

Share This Page