Search results

  1. serpent_driver

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

    If it helped then, why not try it?
  2. 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?
  3. 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...
  4. 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/
  5. 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.
  6. 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...
  7. 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.
  8. 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...
  9. 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}
  10. 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.
  11. serpent_driver

    AllowEncodedSlashes

    https://www.litespeedtech.com/support/forum/threads/allowencodedslashes.20949/
  12. 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.
  13. serpent_driver

    Possible to ignore some parts of pages from cache?

    Place it on top and before LiteSpeed marker.
  14. serpent_driver

    Possible to ignore some parts of pages from cache?

    This is the way I recommend. I can answer this question only generally. I know much about LScache, but don't know everything about details how each cache plugin works, because every LiteSpeed cache plugin is different. If you are able to set a cookie only for the admin it doesn't matter who or...
  15. serpent_driver

    Alternative Cache Crawler for Wordpress, OpenCart, PrestaShop, Magento, Shopware and much more

    Unfortunately, LiteSpeed has severely neglected the development of LScache plugins in recent years, knowing that the success, penetration and acceptance of the LiteSpeed LScache solutions depends on the deployment of cache plugins. Especially since many cache plugins available from LiteSpeed are...
  16. serpent_driver

    Possible to ignore some parts of pages from cache?

    Try it...., but success depends on ESI settings in plugin.
  17. serpent_driver

    Possible to ignore some parts of pages from cache?

    Yes and no. The code you posted depends on settings in cache plugin and is only set if you have Guestmode enabled. If enabled there are 2 different cache copies. One at first request without cookie and the other one after cookie is set. At first request without cookie the shop doesn't check the...
  18. serpent_driver

    Cache Miss after Add To Cart

    It seems that LiteMage has no ESI support. Therefore cache is disabled (no-cache) if user adds an item to cart to prevent caching the cart. If you don't get support from LS try LiteSpeed Slack. https://www.litespeedtech.com/slack
  19. serpent_driver

    Problem with home page image slider PS1.7.6

    @vassiskansa If the way I described how image slider can get work doesn't work for, you must decide what you prefer. LiteSpeed or image slider? You can't get both, because LiteSpeed has currently no time to care abou any fixes or workarounds. This is an official statement from the LiteSpeed...
Top