Search results

  1. serpent_driver

    Very BAD TTFB

    What is VDS?
  2. serpent_driver

    Very BAD TTFB

    There is nothing wrong, but you missunderstand something. Lscache is generally faster than without Lscache, but making cache function available is not for free. For the first load it costs performance at your server with several services and ressources like DNS, RAM, CPU.... If your are on...
  3. serpent_driver

    Very BAD TTFB

    You don't need DDoS protection or are you Amazon, Alibaba or other famous label?
  4. 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...
  5. 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...
  6. serpent_driver

    Very BAD TTFB

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

    Very BAD TTFB

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

    Very BAD TTFB

    Would you provide us with a URL to your page?
  9. 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...
  10. 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/
  11. 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.
  12. serpent_driver

    LSCache Opencart plugin on Windows platform browsers

    Have you tried? \n = Linux \r\n = Windows \r = OSX
  13. 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...
  14. 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...
  15. 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?
  16. 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
  17. 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...
  18. 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.
  19. 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!
Top