Tim Hunt
5bcfd504df
MDL-45618 Fix @since PHPdoc tags.
2014-05-19 17:03:04 +01:00
Mark Nielsen
6cc9ac6cdb
MDL-43734: Prevent purging of all user session cache
2014-01-16 11:22:28 -08:00
Sam Hemelryk
1e9f4c98e3
MDL-43033 cache: added stats logging to set_many methods
2013-12-02 09:30:04 +13:00
Sam Hemelryk
6dbe2df208
MDL-43033 cache: added stats logging to get_many methods
2013-12-02 09:30:03 +13:00
Sam Hemelryk
b51fed38f2
MDL-40903 cache: renamed loader method to reflect static accelerator
2013-09-25 09:05:18 +12:00
Sam Hemelryk
d074fb091d
MDL-40903 cache: renamed persistcache to staticacceleration
2013-09-25 09:05:18 +12:00
Marina Glancy
d67a1a8815
MDL-40903 cache: Unittests and small fixes for persistent application cache
2013-09-25 09:04:36 +12:00
Sam Hemelryk
083fa87759
MDL-40903 cache: converted persistent into persistentdata
...
At the same time all cache instances were made persistent
2013-09-25 09:04:35 +12:00
Sam Hemelryk
85008bedd5
MDL-41106 cache: several fixes for the session cache.
...
This issue makes several fixes for the session loader and the session store.
* maxsize argument now works for session caches.
* fixed performance hole when interation occurs frequently.
* fixed cache purge bug occuring when multiple caches are defined before being used.
* improved lastaccess handling.
Big thanks to Marina who contributed the following commits:
* Always make sure the elements in cache are sorted so we need to remove only elements in the beginning of array
* Remove expired elements from session store to free memory
* Minor bug fixes
2013-08-26 09:15:57 +12:00
Damyon Wiese
5ebe37fb27
Revert "MDL-41106 cache: several fixes for the session cache."
...
This reverts commit 89182546a0
.
This reverts commit 170b05362a
.
This reverts commit 2e9d5a534e
.
2013-08-19 15:32:08 +08:00
Sam Hemelryk
89182546a0
MDL-41106 cache: tidied up several elements
2013-08-19 11:32:08 +12:00
Sam Hemelryk
2e9d5a534e
MDL-41106 cache: several fixes for the session cache.
...
This issue makes several fixes for the session loader and the session store.
* maxsize argument now works for session caches.
* fixed performance hole when interation occurs frequently.
* fixed cache purge bug occuring when multiple caches are defined before being used.
* improved lastaccess handling.
2013-08-16 11:27:55 +12:00
Sam Hemelryk
10aabcb221
MDL-39062 cache: persist keys now set properly
2013-07-15 11:24:19 +12:00
sam marshall
8af5bb54d0
MDL-39472 MUC: Optimise cache::get_from_persist_cache
2013-05-08 10:16:28 +01:00
Sam Hemelryk
5cba0c4ba3
MDL-38565 cache: tidy up pre-integration
2013-04-19 10:13:36 +12:00
Sam Hemelryk
4da28110c0
MDL-38565 cache: improve stats gathering
2013-04-19 10:12:59 +12:00
Sam Hemelryk
dbd2ea4e1f
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.
2013-04-19 10:11:48 +12:00
Sam Hemelryk
35b2d0db5e
MDL-38303 cache: fixed purging of session cache when switching users
2013-03-10 11:31:26 +13:00
Sam Hemelryk
43394c5114
MDL-38165 cache: fixed up application event purging
2013-03-01 10:10:30 +13:00
Sam Hemelryk
b6c86be197
MDL-38165 cache: fixed up session event purging
2013-03-01 10:10:30 +13:00
Sam Hemelryk
3aee2fb8ee
MDL-36363 cache: fixed issue with double parsing keys for stacked loaders
2013-01-31 09:10:57 +13:00
Sam Hemelryk
9966db51f0
MDL-37263 cache: fixed event invalidation coding error
2012-12-21 10:50:07 +13:00
Sam Hemelryk
75cde6b9ac
MDL-36768 cache: replaced cache_store interface with abstract class
2012-11-26 14:11:01 +13:00
Dan Poltawski
aeb8e78785
Merge branch 'wip-MDL-36407-m24' of git://github.com/samhemelryk/moodle
2012-11-16 15:04:17 +08:00
Sam Hemelryk
5dd68a7523
MDL-36407 cache: unit tests + checks + improved string cache
2012-11-16 09:46:49 +13:00
Sam Hemelryk
758dbdf894
MDL-36111 cache: Fixed up typo's and trivial issues
2012-11-12 10:36:53 +13:00
Sam Hemelryk
2566210c63
MDL-36407 cache: Implemented options for ad_hoc caches
2012-11-12 10:05:05 +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
2e1e266c9a
MDL-36362 cache: added simpledata definition option
2012-11-05 10:28:07 +13:00
Sam Hemelryk
d4797177b5
MDL-36047 cache: Fixed up issues with PHP 5.3.2 and 5.3.7
2012-10-15 12:35:23 +08:00
Sam Hemelryk
267ebe02b3
MDL-25290 cache: Fixed issues with references when getting, and added unit tests to cover
2012-10-08 09:53:53 +13:00
Sam Hemelryk
8dbfbd71c9
MDL-25290 cache: Fixed up handling of objects by cache loader
2012-10-08 09:53:52 +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