• Resolved Germont

    (@alergic)


    Hello!
    Thank you for a great plugin, it has every feature that could be imagined.
    Well… almost!
    I just moved to a VPS with LS engine. Compared with the previous installation it has LSMCD. Problem is on the previous one I used Comet Cache Pro, which stored HTML pages into RAM if Memcached was enabled.
    Not anymore, as the server is using an usual HDD, and this VPS don’t have Memcached.
    As it can be seen in the Google Webmaster screenshot, since December 20 when we migrated the domains, response time increased dramatically.
    https://drive.google.com/file/d/1CUnWB5CXqY0ZxFWSmhwuouU_7UypKKN6/view?usp=sharing
    Maybe it could be a good idea to make such a feature available.
    Thanks!

    • This topic was modified 4 years ago by Germont.
Viewing 9 replies - 1 through 9 (of 9 total)
  • serpentdriver

    (@serpentdriver)

    Good idea, but not really good for everyone and the most users with small hosting and less RAM. How should I handle the cache in RAM for 2 millions URLs and roundabout 30GB cached files?

    Maybe you should make a feature request at LiteSpeed Enterprise forum?

    https://www.litespeedtech.com/support/forum/

    My crawling statistic but with nocache for Googlebot and a little bit more traffic….

    https://ibb.co/QNXtY7Z

    serpentdriver

    (@serpentdriver)

    If you really want to store cached files in RAM you already have what you need.

    1.) Setup a RAM drive
    2.) In LiteSpeed webserver WebAdmin console select cache tab and change Cache Manager Path
    3.) locate lscache_vhosts.conf in /etc/apache2/conf.d/userdata/ and modify the path where cached files are to be stored.

    That’s it.

    FYI: I already tried it, but without significant improvements. A SSD hard disk drive is as good as a ramdrive.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you can freely change the cache path to RAM disk if you wish , for configuration is as @serpentdriver mentioned , but that requires root access on the server.

    and as mentioned , unless your server is still on mechanical hard disk , if you are on modern SSD or even better, NVMe disk , the difference is almost negligible

    Best regards,

    Thread Starter Germont

    (@alergic)

    An article from Litespeed blog says RAM loadind can be 10 times faster than SSD. But it may apply to older generation SSDs.
    Problem is I don’t have root access for all domains, and I assume many users are in the same situation. Memcached or LSMCD is the best I can have for the most important installations. And yes, a VPS use mechanical HDD.
    I really appreciate your answers, thanks.

    serpentdriver

    (@serpentdriver)

    Would you provide us with a link to this blog post?

    Thread Starter Germont

    (@alergic)

    Can’t find it anymore, maybe it was old and was deleted/edited.
    It was about setting up a RAM disk and its benefits. But this is what remained in my mind after reading it one month ago.

    serpentdriver

    (@serpentdriver)

    It was about setting up a RAM disk and its benefits.

    That’s what I described above, but again, I already tried without significant improvements. Maybe there is a difference if no SSD is used, but with SSD there is almost no difference. A HTTP cache with SSD HDD is a MUST!

    Thread Starter Germont

    (@alergic)

    I just noticed one major downside when using RAM disk: no persistence.
    Quite disappointing when need to rebuild cache after rebooting the VPS.
    Maybe that’s one more reason you hadn’t noticed much improvement.

    Regarding SSD, the hosting company don’t have 150 gb available on SSD servers.

    Plugin Support qtwrk

    (@qtwrk)

    well , no persistence is not completely a big downside

    modern server doesn’t really reboot that often, like once per year(s) or something like that

    yes , RAM is faster than SSD or NVMe

    but there is no much point for 0.001 second vs 0.0001 second , in scale, this is 10 times faster : ) , loading time from SSD/RAM , while major bottleneck here is network between you and server

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘HTML cached page stored in RAM – feature request’ is closed to new replies.