Search results

  1. 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/
  2. 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.
  3. 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...
  4. 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.
  5. 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...
  6. 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}
  7. 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.
  8. serpent_driver

    AllowEncodedSlashes

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

    Possible to ignore some parts of pages from cache?

    Place it on top and before LiteSpeed marker.
  11. 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...
  12. 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...
  13. serpent_driver

    Possible to ignore some parts of pages from cache?

    Try it...., but success depends on ESI settings in plugin.
  14. 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...
  15. 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
  16. 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...
  17. serpent_driver

    403 Error on post updating wordpress

    This configuration is not cPanel related. It is part of control panel for LiteSpeed web server, but you can only access this control panel if you are on a dedicated server with a paid license of LiteSpeed web server. If you are on shared hosting you don't have access to this CP. Have you any...
  18. serpent_driver

    Problem with LS Cache PluginWordpress

    LScache plugin support forum at Wordpress is the only official forum where you can get support for this plugin. I searched for "FOMO" at WP support forum, but there is no topic. Did you post at LiteSpeed forum? https://wordpress.org/support/plugin/litespeed-cache/
  19. serpent_driver

    php getevn problem

    You should use OpenLiteSpeed Forum. This forum is only for LiteSpeed Enterprise. https://forum.openlitespeed.org/
Top