Sam Hemelryk
bfff058cc8
MDL-40903 cache: fixed up event invalidation
2013-09-24 21:13:22 +12:00
Sam Hemelryk
fcb5548c38
MDL-40903 cache: converted persistent into persistentdata
...
At the same time all cache instances were made persistent
2013-09-24 21:13:21 +12:00
Dan Poltawski
6e74e428af
Merge branch 'MDL-39472-m24' of git://github.com/sammarshallou/moodle into MOODLE_24_STABLE
2013-06-12 14:16:43 +08:00
sam marshall
e5bc3e3dde
MDL-39472 MUC: Optimise cache::get_from_persist_cache
2013-05-08 10:17:58 +01:00
Tim Hunt
2ec2d00dc8
MDL-39445 get_plugin_list clean_param use is slow
...
get_plugin_list was calling clean_param($pluginname, PARAM_PLUGIN) a
lot (600+ times per page), and that is much slower than you would guess.
A specific function for this case, (which we then also use from
clean_param) is a performance win.
2013-05-02 15:47:28 +01:00
Sam Hemelryk
6318a38885
MDL-38565 cache: tidy up pre-integration
...
Conflicts:
lib/db/upgrade.php
2013-04-19 10:11:38 +12:00
Sam Hemelryk
73433c0995
MDL-38565 cache: cron routine to clean up old session data
2013-04-19 10:09:55 +12:00
Sam Hemelryk
2e0b7de1b1
MDL-38565 cache: session caches now function as expected
...
This change is a large change to the way sessions are handled
within MUC after it was discovered that session did not function
as expected when any store other than the default session store
was being used.
As part of this change the session loader has been largely
customised in order to consolidate session data for the loader.
The unit tests have also being greatly increased to provide
better coverage for sessions.
Conflicts:
cache/README.md
cache/tests/cache_test.php
2013-04-19 10:09:55 +12:00
Sam Hemelryk
7588627b8b
MDL-38350 cache: fixed issue with siteidentifier === false
2013-03-20 16:07:53 +13:00
Sam Hemelryk
95d3b8e1f2
MDL-38387 cache: fixed inifinite initialisation loop with site id
2013-03-10 11:31:58 +13:00
Sam Hemelryk
ca35d1c6b6
MDL-38165 cache: fixed issues purging peristent caches by event
2013-03-01 11:37:56 +13:00
Damyon Wiese
86c2bbd5f2
MDL-37683 cache: - Comments cleanup and remove ;;
2013-02-18 10:41:48 +08:00
Sam Hemelryk
31c94e5cb3
MDL-37683 cache: improved indentifier collection and storage
2013-02-18 10:20:23 +13:00
Sam Hemelryk
a2b5f389de
MDL-37683 cache: siteidentifier is now included in the keys
...
Conflicts:
lib/db/upgrade.php
lib/moodlelib.php
version.php
2013-02-18 08:30:29 +13:00
Dan Poltawski
542f68b022
Merge branch 'm24_MDL-36512_Purging_file_cachestore_does_not_purge_anything' of https://github.com/scara/moodle
2012-11-19 10:20:00 +08:00
Matteo Scaramuccia
942be4a574
MDL-36512 purge_by_*() must initialise the cache implementing a store.
...
Indeed, given the current stores implementation, purge will not take effect in case of a file store.
2012-11-16 10:49:12 +01:00
Matteo Scaramuccia
fb8305dec7
MDL-36512 Purging a file store actually purges nothing
2012-11-16 10:43:15 +01:00
Sam Hemelryk
5dd68a7523
MDL-36407 cache: unit tests + checks + improved string cache
2012-11-16 09:46:49 +13:00
Dan Poltawski
1191881888
Merge branch 'wip-MDL-36120-m24' of git://github.com/samhemelryk/moodle
2012-11-07 10:49:28 +08:00
Sam Hemelryk
75af47ee1e
MDL-36386 cache: upgrades now trigger definitions to be updated
2012-11-07 10:42:20 +13:00
Sam Hemelryk
702651c7a6
MDL-36120 cache: Tidied up post peer-review
2012-11-07 10:03:32 +13:00
Sam Hemelryk
47834bcd41
MDL-36120 cache: now uses sha1 and has an option for simple keys
2012-11-07 10:03:32 +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
8139ad13a5
MDL-25290 cache: Implemented Cache API aka MUC
2012-10-08 09:53:50 +13:00