HTML cached page stored in RAM ? feature request




Wordpress LScache Plugin: HTML cached page stored in RAM ? feature request

Last Updated on: Wed, 15 Apr 2026 00:00:02
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 dont 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 1 year, 9 months ago by Germont. 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 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. Thats it. FYI: I already tried it, but without significant improvements. A SSD hard disk drive is as good as a ramdrive. Hi, you can freely change the cache path to RAM disk if you wish , for configuration is as @CacheCrawler 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, 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 dont 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. Would you provide us with a link to this blog post? Cant 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. It was about setting up a RAM disk and its benefits. Thats 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! I just noticed one major downside when using RAM disk: no persistence. Quite disappointing when need to rebuild cache after rebooting the VPS. Maybe thats one more reason you hadnt noticed much improvement. Regarding SSD, the hosting company dont have 150 gb available on SSD servers. well , no persistence is not completely a big downside modern server doesnt 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



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference