1. 27 Mar, 2017 1 commit
  2. 19 Jan, 2017 1 commit
  3. 16 Jan, 2017 1 commit
  4. 12 Jan, 2017 1 commit
  5. 11 Jan, 2017 1 commit
  6. 06 Jan, 2017 1 commit
  7. 30 Nov, 2016 1 commit
  8. 15 Nov, 2016 1 commit
  9. 04 Nov, 2016 1 commit
  10. 02 Nov, 2016 1 commit
  11. 31 Oct, 2016 1 commit
  12. 30 Oct, 2016 3 commits
    • Russell Smith's avatar
      MDL-56273 cache: Use cache initialise always. · a169739d
      Russell Smith authored
      purge_all() and purge_by_definition() look in the configuration
      for which caches are available and then creates them to purge them.
      The configuration stores the values used by initialise(), not
      initialise_unit_test_instance() and would therefore fail to purge
      all caches if they were not purged by another means.
      
      In the case of filestore, it's purged by unit tests, in the case
      of memcache(d), it purges the whole store when a single definition
      is requested.
      
      Therefore all configuration was moved into the configuration file
      during unit tests and does not have any special override codes in
      the unit test infrastructure.
      a169739d
    • Tomasz Sanecki's avatar
      fd7bb5a8
    • Russell Smith's avatar
      MDL-48468 cache: Import Redis cachestore · 68b1e130
      Russell Smith authored
      This code was originally taken from; https://github.com/durana/moodle-cachestore_redis
      Special thanks to Mark Nielsen and Adam Durana for their work on this.
      
      Since the original import;
      - Mode session support has been added.
      - Some cleanup of names has been made.
      - Data guarantee and references support was added.
      68b1e130
  13. 26 Oct, 2016 1 commit
  14. 07 Oct, 2016 1 commit
  15. 23 Sep, 2016 1 commit
  16. 22 Sep, 2016 1 commit
  17. 20 Sep, 2016 1 commit
  18. 12 Sep, 2016 1 commit
    • Russell Smith's avatar
      MDL-55922 cache: Improve static cache performance · ec4b83b9
      Russell Smith authored
      Static cache has a very flexible storage capability
      and does not need all the checks performed on it.
      Enabling dereferencing handling and multiple identifiers
      removes a lot of unneeded overhead for request caches that
      have many get calls.
      
      The changes were modelled on the static acceleration changes
      done in MDL-53208.
      ec4b83b9
  19. 19 May, 2016 1 commit
  20. 29 Apr, 2016 1 commit
  21. 19 Apr, 2016 1 commit
  22. 18 Apr, 2016 3 commits
  23. 28 Feb, 2016 1 commit
    • Russell Smith's avatar
      MDL-53208 caching: Enable dereferencing as a feature. · b2159f2d
      Russell Smith authored
      If the cache does all the dereferencing when it stores and loads
      the objects, then the cache loaders don't need to do that work.
      This is true of all caches that use something other than PHP's memory
      to store their results.
      b2159f2d
  24. 10 Nov, 2015 1 commit
  25. 29 Jul, 2015 1 commit
  26. 05 May, 2015 1 commit
  27. 30 Apr, 2015 1 commit
  28. 12 Dec, 2014 1 commit
    • Sam Hemelryk's avatar
      MDL-48568 cache: stores now determine testing · 63b159d0
      Sam Hemelryk authored
      Cache stores are now responsible for deciding if they are suitable
      for use as the primary cache store during unit and acceptance tests
      
      Changes are as follows:
      * New method: cache_store::ready_to_be_used_for_testing
      * Core cache store have been updated to override this method as
        required.
      * MongoDB usesafe default changed to true to match actual default
        behaviour.
      63b159d0
  29. 09 Dec, 2014 1 commit
  30. 18 Nov, 2014 1 commit
  31. 05 Nov, 2014 1 commit
  32. 03 Nov, 2014 1 commit
  33. 20 Oct, 2014 1 commit
    • Sam Hemelryk's avatar
      MDL-47608 cachestore_mongo: fixed unit test error · c1db791e
      Sam Hemelryk authored
      If you configured your site to run mongo unit tests and had
      the mongo extension and backend installed but did not have the
      mongo service running you would get a fatal error when running
      the unit tests.
      That problem has been fixed by checking the mongo test instance
      is ready before returning it.
      c1db791e
  34. 14 Oct, 2014 1 commit
  35. 13 Aug, 2014 2 commits