• Resolved joy0114

    (@joy0114)


    Hi,

    Does somebody known why I see a 404 error on file /litespeed-cache/guest.vary.php when I test my website on Gtmetrix ?

    I enabled guest mode, but disabled guest optimization because this website is hosted on server which does not support mobile separated cache (LITESPEED_SERVER_TYPE = LITESPEED_SERVER_ADC).

    Does this kind of server support guest mode ?

    Thanks a lot.
    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    What do you mean by “404 error on file /litespeed-cache/guest.vary.php”? Maybe you can take a screenshot or send the GTmetrix report page?

    Guest Mode could be turned on for all the supported litespeed server types. Although the specific optimization features available for each server type or settings may be different, the available features will be used.

    Regards,
    Abe

    Thread Starter joy0114

    (@joy0114)

    Hi,

    Thanks for your answer.

    Here, the GTmetrix report:
    Gtmetrix report

    Sorry, I did not express the issue correctly: this is the post request which seems to be problematic:
    image-1

    Here the header of request:
    image-2

    And the response:
    <!DOCTYPE html><html lang="fr-FR"><head><meta charset="UTF-8"><style id="litespeed-optm-css-rules">a,body,div,form,h1,html,label,li,span,ul{border:0;font-size:100%;font-style:inherit;font-weight:inherit;margin:0;outline:0;padding:0;vertical-align:baseline}html{-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}footer,header,nav,section{display:block}a{background-color:transparent}a,a:visited{text-decoration:none}img{border:0}button,input{color:inherit;font:inherit;margin:0}button{overflow:visible}button{text-transform:none}button,input[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.ast-container{max-width:100%}.ast-container{margin-left:auto;margin-right:auto;padding-left:20px;padding-right:20px}h1{clear:both}h1{color:#... [truncated to save space (86532 more bytes)]

    Thanks for your explanation about guest mode. For me, I disabled optimizations for this mode.

    Best regards

    Plugin Support Hai Zheng⚡

    (@hailite)

    Your LSWCP_PLUGIN_URL constant seems to be wrong somehow. Did you change your WP content folder path?

    Thread Starter joy0114

    (@joy0114)

    Hi,

    Path for plugins had been changed, but /wp-content exists and contains /ajouts (for plugins), and /litespeed (which contains ccss, css,js, crawler…).

    And /wp-content/ajouts/litespeed-cache/guest.vary.php also exists.

    Is there here something abnormal ?
    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    if you have changed the wp-content dir

    please try add this at top of your wp-config.php

    
    define( 'LSCWP_DIR', <code>/absolute/path/to/your-real/wp-content/plugins/litespeed-cache/</code> ) ;
    

    Best regards,

    Thread Starter joy0114

    (@joy0114)

    Hi qtwrk,

    Yes ! Thank you very much: you solved my issue. The error disappeared.

    Have a good day.

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘404 error with guest.vary.php’ is closed to new replies.