Search results

  1. serpent_driver

    How to use LiteSpeed with Apache?

    https://www.litespeedtech.com/support/forum/threads/how-to-use-litespeed-with-apache.21085/ https://www.litespeedtech.com/support/forum/threads/how-to-use-litespeed-with-apache.20487/ https://www.litespeedtech.com/support/forum/threads/how-to-use-litespeed-with-apache.19514/
  2. serpent_driver

    LS Cache for WP - Purge Revisions - Create Postmeta Orphans

    You posted the same topic at Slack, right?
  3. serpent_driver

    LS Cache for WP - Purge Revisions - Create Postmeta Orphans

    @IMTanuki Please update your post.
  4. serpent_driver

    How to pass a parameter to a block?

    Indepently from anything you describe if you have admin cookie set and no-cache rule for the admin's cookie exists it is impossible that anything is cached! If all users see this button either the admin doesn't have this cookie and|or there is no no-cache rewrite rule! Actually logical, right...
  5. serpent_driver

    How to pass a parameter to a block?

    Next time please describe as precisely as possible what you want. Almost anything is possible, but you (me) have to know the exact requirements.
  6. serpent_driver

    503 errors - but only when POSTing to a 3rd party external server

    If it helped then, why not try it?
  7. serpent_driver

    503 errors - but only when POSTing to a 3rd party external server

    This is why you maybe should check if domain or IP is possibly blacklisted?
  8. serpent_driver

    503 errors - but only when POSTing to a 3rd party external server

    1. Check if the affected domain/IP is blacklisted especially by any CDN. 2. Generate blank 503.shtml, paste code below in this file and place it in the document_root of each domain you use. This prevents error file not found of 503.shtml 3. You already reported a similiar issue 2 years ago...
  9. serpent_driver

    largest contentful paint.

    If you need further WP related support. Please use cache plugin support page at Wordpress. This forum doesn't support cache plugin any longer. https://www.litespeedtech.com/support/forum/threads/please-use-the-official-wordpress-forum.16028/
  10. serpent_driver

    largest contentful paint.

    Of course it works! You have to wait until VPI service is finished with scan and you have to purge the cache. Enable "Viewport Images Cron" on same tab.
  11. serpent_driver

    How to pass a parameter to a block?

    Again, if no-cache rule for Admin still exists you don't have to care about the content that is only for the admin, because only the Admin sees it. $isAdmin doesn't work because it is binded to PHP session, but you don't have a session if page is cached, so forget this variable. Only {if...
  12. serpent_driver

    How to pass a parameter to a block?

    FYI: If a page is cached there is no more PHP or Smarty and therefore no Session and no Session id. Unless you are logged in as admin and he has no cache.
  13. serpent_driver

    How to pass a parameter to a block?

    If you are logged in as Admin and if no-cache rule for Admin cookie still exists only the Admin sees the cookie name. {$smarty.cookies.my_cookie_admin} == my_cookie_admin That's logical! You show all cookies with the dump, but you do not impose any conditions on this display. Correct would...
  14. serpent_driver

    How to pass a parameter to a block?

    Just use Smarty. No extra assign needed. {if isset($smarty.cookies.my_cookie_admin)} <p class="launchJS" productid="{$product.id_product}">Do something</p> {/if}
  15. serpent_driver

    How to pass a parameter to a block?

    Why and for what do you need ESI? Everything you need is Smarty and maybe some PHP, but not ESI.
  16. serpent_driver

    AllowEncodedSlashes

    https://www.litespeedtech.com/support/forum/threads/allowencodedslashes.20949/
  17. serpent_driver

    largest contentful paint.

    Enable VPI (Viewport Image) in Page Optimization -> VPI tab and you will be happy again, but read the hints to this setting.
  18. serpent_driver

    Possible to ignore some parts of pages from cache?

    Place it on top and before LiteSpeed marker.
Top