LSCache - ETag - Minified CSS/JS

Discussion in 'General' started by frontal, Sep 5, 2018.

Tags:
  1. frontal

    frontal Member

    Hi,

    I have installed, configured and tuned WP LSCache Plugin (which is a great plugin!!!) and almost everything works very well except for one thing.
    I've just tested my website on GTmetrix. After tuning I still have the following problem:
    It seems to only happen with minified ressources (JS and CSS).

    To solve the problem I am thinking of turning "addEtag" from 0 to 1 in "Server Configuration > Modules > Server Modules Definition > Module Parameters". Is it a good solution? Will it solve my problem?

    Thanks a lot.
     
    Last edited by a moderator: Sep 5, 2018
  2. Pong

    Pong Well-Known Member Staff Member

    Are you using OpenLitespeed? Did you enable modpagespeed module?
    We recommend you disable modpagespeed module when using LSCWP plugin since most of functions are within LSCWP.
    In term of adding etag for OLS, you can go to server configuration-> tuning-> Static File Delivery Optimization ->File ETag.
    Normally this forum is for LiteSpeed Enterprise related, openlitespeed related questions can be raised on forum.openlitespeed.org
     
    Last edited by a moderator: Sep 6, 2018
  3. frontal

    frontal Member

    @Pong
    Thanks for you answer.

    You are correct: I use OpenLitespeed and not Litespeed (next time I will use OpenLitespeed forum).
    Actually I moved to OpenLitespeed because I was fed with Pagespeed... so it is not activated.

    I have checked the "File ETag" option. I have 4 boxes (iNode, Modified Time, Size and None) and the first three are checked.

    In my mind the "problem" comes from WP LSCache because only minified ressourced do NOT have ETag or Last-Modified HTTP headers.
     
  4. Pong

    Pong Well-Known Member Staff Member

    How did you minify the static files? through LSCWP plugin function? or third party plugin? Is there any possible to provide an example URL for testing?
     
    Last edited: Sep 5, 2018
  5. frontal

    frontal Member

    Hi @Pong
    Sorry for the long delay.
    Yes I use LSCache to minify CSS and JS. I have not any other optimization plugin.
    Yes I can give you an URL : https://www.oui-gay.com
    Only the following ressources DO NOT have ETag header:
    • https://www.oui-gay.com/min/30956.js
    • https://www.oui-gay.com/min/ea580.css
    • https://www.oui-gay.com/min/f3afe.js
    Thanks a lot.
     
    Last edited by a moderator: Sep 21, 2018 at 2:30 PM
  6. Pong

    Pong Well-Known Member Staff Member

    We run some test on our test server and we can see etag without any problem for minified js/css files.
    You can log a ticket with us by providing tmp root password and WordPress admin login. We can take a further look.
     

Share This Page