Eloy Lafuente (stronk7)
f39c82ebed
MDL-42701 Bump all versions near 2.6 release
2013-11-05 02:36:00 +01:00
Sam Hemelryk
67da59999a
MDL-40677 cache: fixed bug with maxsize when setting
2013-07-22 10:42:04 +12:00
Sam Hemelryk
6f6a8dd19e
MDL-40677: cachestore_static: implemented support for maxsize
2013-07-22 10:42:04 +12:00
Eloy Lafuente (stronk7)
3f0a8871d3
Merge branch 'MDL-40555-master' of git://github.com/FMCorz/moodle
...
Conflicts:
cache/stores/static/lib.php
2013-07-16 09:57:34 +02:00
Russell Smith
ae21341523
MDL-40538 caching: Use isset for performance
...
isset is much faster than array_key_exists. For caches we need to
ensure as much performance as possible. To all null to continue to
be stored and provide correct results, non ttl also now saves in
$this->store[$key][0]. As isset($this->store[$key]) will return
true in all cases.
time() as found in cache::now() can be slow on some platforms and
we shouldn't bother checking it unless needed. It also stops non-ttl
caches paying the ttl price.
Unit tests were adjusted to ensure null is still handled correctly
when we are only using isset.
2013-07-10 10:15:19 +10:00
Frederic Massart
0d8eac408b
MDL-40555 cache: Static store is searchable
2013-07-08 15:09:04 +08:00
Dan Poltawski
2da94da7b5
Merge branch 'MDL-39473-master' of git://github.com/sammarshallou/moodle
2013-05-06 14:32:33 +01:00
sam marshall
cb86f1ebb3
MDL-39472 MUC: Improve parse_key performance
2013-05-02 16:04:29 +01:00
Eloy Lafuente (stronk7)
cedb0aab5a
MDL-39434 Bump all versions near 2.5 release
2013-05-01 18:03:29 +02:00
Sam Hemelryk
32c981e67a
MDL-38247 cache: fixed cache stores so that they pass unit tests
2013-03-01 10:11:55 +13:00
Sam Hemelryk
ac6754a679
MDL-38427 cache: implemented unit tests for all core cache stores
2013-03-01 10:11:55 +13:00
Matteo Scaramuccia
f4cec2ec87
MDL-36322 Errors when updating a Moodle instance with some misconfigured cache stores
2013-02-01 08:49:03 +13:00
Sam Hemelryk
a037c943bd
MDL-36363 cache: clean up pre-integration
2013-01-28 10:39:23 +13:00
Matteo Scaramuccia
59ca73ff82
MDL-36363 Override instance_deleted() for all cache stores performing just a cleanup() when this action successfully applies over all the definitions of the cache store
2013-01-28 10:39:23 +13:00
Brian King
6e89fb0309
MDL-37225 reset cachstore_static store when purging
2012-12-18 23:57:22 +01:00
Eloy Lafuente (stronk7)
663dbbc2e6
MDL-36933 Bump everything to 2012112900
...
(versions, requires and dependencies)
2012-11-30 03:30:09 +01:00
Sam Hemelryk
b144e12feb
MDL-36768 cache: Fixed regression in cache stores by reordering classes
2012-11-27 12:14:48 +13:00
Sam Hemelryk
75cde6b9ac
MDL-36768 cache: replaced cache_store interface with abstract class
2012-11-26 14:11:01 +13:00
Sam Hemelryk
bd188851f2
MDL-36768 cache: Implemented abstract cache store base class
2012-11-26 08:12:45 +13:00
Dan Poltawski
a3f3ea2684
MDL-36111 cache: remove double semicolons
...
Thanks to Matteo Scaramuccia!
2012-11-15 09:25:56 +08:00
Sam Hemelryk
758dbdf894
MDL-36111 cache: Fixed up typo's and trivial issues
2012-11-12 10:36:53 +13:00
Sam Hemelryk
170f821b9d
MDL-25290 cache: Fixed things up per coding style
2012-10-08 09:53:52 +13:00
Sam Hemelryk
34c84c723a
MDL-25290 cache: Added cache locking plugin and converted locking implementations to that
2012-10-08 09:53:51 +13:00
Sam Hemelryk
6fec18203b
MDL-25290 cache: Renamed plugin from cache => cachestore
2012-10-08 09:53:51 +13:00
Sam Hemelryk
5f2836e6cc
MDL-25290 cache_static: Added default static cache store
2012-10-08 09:53:50 +13:00