cache

  1. H

    how to prenevent post update time and DL count from cashing

    in my site, I have some sections like post update time and DL count. these sections must return real value. for them, I used from ESI block by PHP code. add below code in my function.php file: add_action('litespeed_esi_load-esi_last_update', 'esi_last_update_esi_load'); function...
  2. Pairfum London

    Clear Cache Not Working?

    Dear Forum Members, We have noticed during the past week that Litespeed's cache clearing no longer works or only partially works. Here are two examples: 1. Shop page: This is our shop page: https://www.pairfum.com/home-fragrance-boutique/ At the top of the screen should be these 4 x...
  3. C

    How to disable / exclude Caching for a specific .php file?

    As the title says how can I disable / exclude a .php file from being cached by LS? When I use a caching plugin such as Hummingbird, all I have to do is add the following line to the top of the .php file in order to exclude it from cache: "define('DONOTCACHEPAGE', true);" Thanks in advance!
  4. J

    Assigning individual memory for users in LSMCD

    Hi, I would like to know how to assign different levels of memory for users (say 256MB for one,512MB for other)in LSMCD rather than using a general pool. I see there are no official documentation of Litespeed regarding this. Any suggestions are welcome. Thanks in Advance!
  5. V

    Woocommerce Reviews and Video Displaying Issue

    Hello, I am facing two issues with LiteSpeed functions. Before I explain here is my system info: Wordpress Divi Woocommerce Cpanel First, the woocommerce comments work well for logout users, but when you login, the review module isn't seen on the product page. When I clear history and cache and...
  6. J

    Apcu cache not working

    Hello, I have installed and enabled apcu cache for lsphp73. I have a virtual host which is running on lsphp 73 and when I check on apcu dashboard there are no hits found eventhough it is showing as enabled. Please let me know if there is anything else needed to be done in order for apcu to get...
  7. S

    Can anyone tells me if lscache is working on this site or not?

    Im confused with all the info going on the net about working/not working lscache and cant find the "X-LiteSpeed-Cache: hit " on the response so here is header. can you guys please tell me if lscache is working on this website? the reason im asking is because on the "cpanel > LiteSpeed Web Cache...
  8. M

    Enable Cache for custom PHP server

    Hi, I have my own custom php server hosted at a2hosting and they use litespeed for caching. I want to enable Caching via litespeed manually without plugins. I read the documentation and i cant find what i want. I want the following: 1. Enable cache for images only 2. How to optimize images...
  9. T

    Best Cache Configuration for WordPress Membership Site with Dynamic Nav Menu

    Hello, I'm running a WordPress membership site with a dynamic navigation menu (By role). I understand that the [Cache Logged-in Users] option exists, but it seems really inefficient to cache multiple posts and pages for 150+ users (Caching by role would be much better). Is there any way to...
  10. Aminvtn

    CSS cache problem

    Hi. I'm using PrestaShop 1.6.1.23 and LiteSpeed module. Before installing ls module, when I add a CSS code to autoload folder, it would load the code with a simple page refresh so my users will always see the last changes. After installing ls module, I found that the user has to press Ctrl+F5...
  11. soaringeagle

    litespeed (newest) suddenny causing odd behavior

    i can't be certain all of its related to liespeed but for the past month about i have been unable to complete a sitemap crawl. normally when the crawler gets an error like a timeout or 500 error it logs it, and moves on, but for the past month it will crawl an average of 100k-200k (as low as...
  12. M

    Purge url header not working

    Hi, I am using the following to try and purge a URL: header('X-LiteSpeed-Purge: /about/work-for-us'); But it's not working, when I run that header in my code and then go back to the page I still get a cache hit in console. Could it be LS configuration on the server? I can definitely purge...
  13. M

    LSCWP for WP plugin - Cloudflare Automatic Cache Management.

    Hi, I use LSCWP for WP plugin, and use Cloudflare with the WP plugin provided by Cloudflare. I would like to use Cloudflare directly via LSCWP for WP plugin and the only question I have for you is the following. The official plugin developed by Cloudflare for WP offers this function...
  14. B

    Probably simple but... Help

    Hi - Lightspeed cache is causing a Nonce error on my registration button - I am correct in the fact that I have to stop those pages from being cached? And if so - I really need to know the coding cause I am clueless on that. Thanks
  15. F

    x-litespeed-cache miss in gtmetrix

    Hello, on my site www.ecomesifa.it, often doing the check with GTMETRIX I find x-litespeed-cache miss. How can I solve? Thank you
  16. M

    Cache Warmer? (PHP)

    Hi Has anyone got a PHP script I can run with cron to warm the ls cache? Screaming frog works well for warming the cache, but I need something free I can automate Thanks Dave
  17. L

    Magento2 Litemage No Cache Block

    I've just recently installed Litemage in my magento demo store (magento.startupwebshop.com), yet I currently running an issue with ESI - hole punching. When it was implemented with varnish, setting up a ttl=10 within a block solve the issue, however this is not applicable within Litemage. <block...
  18. T

    Make magento block non cacheable

    we are using LITEMAGE CACHE 1.3.6 extension for magento 1.9.3 site, extension is working perfectly but issue is happen in recently view product block, we want make that block non-cachable, we have tried many solutions like: 1)Add route path in 'Do-Not-Cache Subroutes' configuration like...
  19. J

    JCH & LiteSpeed Cache Plugin for Joomla

    Currently on a new site I'm building using Joomla, JCH Optimize Pro and the LiteSpeed Cache Plugin, If I clear the JCH or Joomla System cache, the website breaks unless I manually clear the litespeed cache. site: https://storehousetech.win/ It says 404 errors in the console: Failed to load...
  20. M

    Litespeed and eCommerce

    So I got an ecommerce site set up with Litespeed cache and I was really happy because it was nice and fast. Then I discovered that it cache the cart, so when you go to the checkout page you see old items, not the ones you just added to cart. So I disabled Public cache entirely in htaccess but...
Top