Search results

  1. serpent_driver

    Very BAD TTFB

    Check this out: https://developers.google.com/speed/pagespeed/insights/?hl=de&url=https%3A%2F%2Funallarayakkabi.com.tr%2F&tab=mobile Remove all external sources like Google Analytics, Google Tag Manager, Google DoubleClick, and other Google services and Cloudflare AJAX request and you will get...
  2. serpent_driver

    Very BAD TTFB

    No, thank you.... You are using Cloudflare. Cloudflare is not bad, but CF is no a guarantee that your page will be faster and in many cases page loads slower than without CF. If you have no or almost no foreign visitors from other countries CF makes no sense to use it and can be the reason for...
  3. serpent_driver

    Very BAD TTFB

    Who told you that your page has a high TTFB?
  4. serpent_driver

    Very BAD TTFB

    You are using Cloudflare with a DDos protection service that causes delay to load your page
  5. serpent_driver

    Very BAD TTFB

    Would you provide us with a URL to your page?
  6. serpent_driver

    Purge cache with '$_SERVER["REQUEST_URI"]'

    If a page is already cached, the output of this requested URL is static HTML and PHP can't be executed. That's why hardcoded URL in purge header works and PHP generated URL doesn't. To get what you want to, setup a simple PHP page that purges requested URI by AJAX request (jQuery) <?php...
  7. serpent_driver

    Lazy Load Images Breaking Wordpress Theme Slider/Header

    Read this and follow the instruction: https://www.litespeedtech.com/support/forum/threads/please-use-the-official-wordpress-forum.16028/
  8. serpent_driver

    LSCache Opencart plugin on Windows platform browsers

    preg_split works on every OS and it is PHP. Handling of PHP_EOL, \n, \r\n and \r depends on OS.
  9. serpent_driver

    LSCache Opencart plugin on Windows platform browsers

    Have you tried? \n = Linux \r\n = Windows \r = OSX
  10. serpent_driver

    LSCache Opencart plugin on Windows platform browsers

    Handle this modification carefully. PHP_EOL is not the same like \n or \r\n. PHP_EOL defines the end of a line, \n can be everywhere, but you are right that PHP_EOL doesn't find endline on Windows systems. Notice, explode is as double as fast as preg_split. If you find an issue with entering UA...
  11. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    I have added rewrite rules for no-cache bad bots in pre_main_global.conf, but it doesn't work. Requested URLs are cached if a defined bot requests a URL, but I used the same rewrite rules as in .htaccess. To load new configuration I did a graceful restart of LSWS, so what is wrong? RewriteCond...
  12. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    Okay, but if I write it in pre_main_global.conf, syntax for rewrite rule is the same as in .htaccess, correct?
  13. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    pre_main_global.conf? Defined as rewrite map or directly in pre_main_global.conf? Btw. I have WHM/cPanel
  14. serpent_driver

    Rule: only cache posts older than x days

    I don't know the code of your application, so you must find one who will develop it for you if you can't, but it needs only a few lines of code to compair the current date with the date when a post has been published. If this time period is passed remove no-cache cache header. That's it...
  15. serpent_driver

    Rule: only cache posts older than x days

    Do you store the date of a published post? If yes, you can use this date and calculate with days to set no-cache header with PHP.
  16. serpent_driver

    Rule: only cache posts older than x days

    Which cache plugin for which application do you use? There is more than 1 cache plugin!
  17. serpent_driver

    Ubuntu 20.04 LTS is missing lsphp71

    Documentation isn't wrong. LiteSpeed supports all listed PHP versions, but if OS doesn't then it is not a fault of LSWS.
  18. serpent_driver

    About license and service worker

    For the future: If you will register more domains, for LiteSpeed licenses it doesn't matter if domain is in use or not. Example: You have 6 domains, but only 1 is in use and all others are only Addon Domains, you must upgrade Site Owner Plus licence.
  19. serpent_driver

    [solved] Bug or Feature: If page is cached ModSecurity can't work

    Before I used ModSecurity to block bad bots I had rewrite rules defined, but with rewrite rules and a large number of bots it is also expensive. ModSecurity is much better because with CSF and ModSecurity block rule bots will be blocked by IP, but I understand that ModSecurity defeat the speed...
Top