Search results

  1. LiteCache

    Redis vs Memcache

    @eXRuLeZz Redis is Redis and Memcache is Memcache, but Redis or Memcache is not LScache. LScache is a page cache and not a DB cache, so LScache doesn't matter in relation to Redis or Memcache. That's why you can use the linked posts from @AndreyPopov as a guide.
  2. LiteCache

    LSCache Mediawiki Plugin

    Nothing to thank for. We all learn and benefit from it.
  3. LiteCache

    LSCache Mediawiki Plugin

    Can you set the Gtag code manually in HTML header? If this is possible do it.
  4. LiteCache

    LSCache Mediawiki Plugin

    This means that it can be determined with certainty that it is an OLS problem. I used your code and tested it with LSWS so there is no cache problem. However, you should do another test with a test.php. <?php header('x-litespeed-tag:test'); header('x-litespeed-cache-control: public...
  5. LiteCache

    LSCache Mediawiki Plugin

    @Balerion The answer from the Github Report doesn't give me a coherent explanation that can be reproduced. If this answer were logically correct, then the same malfunction could also be reproduced with LSWS, but it is not. MediaWiki works as expected on LSWS with or without Gtag. Whether the...
  6. LiteCache

    LSCache Mediawiki Plugin

    I would have been very surprised if the cache had worked with the changed code...
  7. LiteCache

    LSCache Mediawiki Plugin

    At https://wiki-test.westeros.org/ cache works, but only if I activate the ad blocker. You might want to note this in your Github report?
  8. LiteCache

    LSCache Mediawiki Plugin

    @Balerion has contacted OLS github Support.
  9. LiteCache

    LSCache Mediawiki Plugin

    As already said several times ESI doesn't matter. ESI can be enabled and it also doesn't matter, but as slong as there are no ESI wholes ESI is not used. Cache extension for MediaWiki works, but it doesn't work if Gtag extension is installed.
  10. LiteCache

    LSCache Mediawiki Plugin

    The images aren't the problem, it's what MediaWiki does with them. MediaWiki sets a preload header and this header forces the ls_smartpush cookie to be set. Could you send me the LocalSettings.php via DM? You can delete the DB parameters.
  11. LiteCache

    LSCache Mediawiki Plugin

    If you want to test the LSWS, I recommend using it together with a supported server control panel. Using LSWS natively without appropriate knowledge of LSWS is not recommended.
  12. LiteCache

    LSCache Mediawiki Plugin

    No, this cookie is always set if there is a static source to preload. Entries in LocalSettings.php -> $wgLogos define such sources. Normally this cookie feature is good, but in OLS this cookie has wrong parameters and has to be fixed.
  13. LiteCache

    LSCache Mediawiki Plugin

    @Balerion Unfortunately I don't have any good news for you. As advertised, I installed MediaWiki on an LSWS (not OLS) together with the LScache plugin and the Gtag extension from https://www.mediawiki.org/wiki/Extension:GTag and everything worked as expected. Unfortunately, I can't tell you...
  14. LiteCache

    LSCache Mediawiki Plugin

    If I have time tomorrow, I will install MediaWiki, the LScache Plugin and the GA Extension again. On my own server I have better options to further isolate the problem when debugging through the LScache Extension is not possible.
  15. LiteCache

    LSCache Mediawiki Plugin

    @Balerion I did another change to test.php. Please download https://www.cachecrawler.com/tmp/test.zip and try again.
  16. LiteCache

    LSCache Mediawiki Plugin

    The LScache extension has a debug function. Please enable it.
  17. LiteCache

    LSCache Mediawiki Plugin

    Please download the test.zip again because the test.php contained an error and then try again. If the cache the test.php works, but Mediawiki does not and the GA code is the same everywhere, then the conclusion can only be that the code for implementing the GA extension cannot be right. Have...
  18. LiteCache

    LSCache Mediawiki Plugin

    @Balerion Leave the SmartPush directive as ls_smartpush cookie is incorrect in OLS, especially since you don't need this ls_smartpush cookie for MediaWiki. Unzip the attached test.zip and upload test.php to the document_root where https://test.westeros.org is installed, request it in browser...
  19. LiteCache

    LSCache Mediawiki Plugin

    @Balerion Where did you get this code from?
  20. LiteCache

    LSCache Mediawiki Plugin

    @Balerion ls_smartpush cookie doesn't matter in this case. This cookie is set by OLS/LSWS if there is a HTTP/push header, but you don't have any push headers and OLS sets this cookie wrongly with wrong cookie parameters. Anyway, ignore it. ESI? This doesn't matter as well. Loading an external...
Top