Support » Plugin: LiteSpeed Cache » How to change cache directory

  • Resolved panmaster


    Dear Team

    I’m currently using Litespeed Cache on a Litespeed shared host.

    The plugin creates a cache dir under /home/user/lscache/.
    Is there a way to let it create the same dir under /home/user/public_html/dir-of-the-wp-site/wp-content/cache/ instead?

    Many thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk



    the /home/user/lscache/ , technically , is not created by plugin , as in many PHP environment , PHP script may not have access outside of its directory

    the lscache dir is created by LSWS server

    <IfModule Litespeed>
      CacheRoot lscache

    by this directive in Apache configuration file.

    You can change that lscache to other directory , but this may requires root access on your server to do so.

    Best regards,

    Many thanks for the information!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.