summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cache/Cache.php
AgeCommit message (Collapse)AuthorFilesLines
2016-01-11[ci skip] Bump year to 2016Andrey Andreev1-2/+2
2015-07-05supported key_prefix on `increment` and `decrement`ftwbzhao1-2/+2
2015-06-22A small optimization in CI_Cache::is_supported()Andrey Andreev1-3/+2
As it was, the static variable was always re-set to an empty array
2015-04-28Removed extra adapter validation. Adapter validation already happens in the ↵Tyler Brownell1-18/+2
system Driver library.
2015-04-27Adds error-level log messages when invalid adapters are set.Tyler Brownell1-0/+8
2015-04-24Reverts previous variable renaming and removes the foreach loop in favor of ↵Tyler Brownell1-24/+23
a simple if condition.
2015-04-23Renames $_adapter to $_driver. It's what we call it everywhere else.Tyler Brownell1-14/+14
2015-04-23Cache Library Defaults FixedTyler Brownell1-15/+6
- Comments! - Updates the cache library to validate *both* adapters. - No longer attempts to set an undefined "memcached" class variable. - $key variable renamed to $driver_type (more descriptive).
2015-04-23Updates the fallback driver variable name to match the config option name.Tyler Brownell1-6/+6
2015-01-21Remove closing blocks at end of PHP filesvlakoff1-3/+0
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-01-09Implement atomic increment/decrement in Cache libraryAndrey Andreev1-5/+34
Requested via issue #109 Supersedes PR #241
2013-07-24Cache Driver - Backup Never LoadedTyler Brownell1-1/+2
The condition that checks to see if the backup driver input is valid was prefixing the input with "cache_". Since the valid driver values don't have this prefix, the condition was always returning FALSE and the backup drivers were never being loaded. I've removed the prefix in the condition and added a debug log message for when the backup driver is used.
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-11-25Added support for extending individual driver classes and driver unit testsdchill421-6/+6
Signed-off-by: dchill42 <dchill42@gmail.com>
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-2/+3
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-27Style guide...vkeranov1-1/+1
2012-10-26Implement cache key prefixing (as suggested in #1197) and update the Cache docsAndrey Andreev1-26/+32
2012-06-09Cleanup the new Redis cache driver and add a changelog entry for itAndrey Andreev1-1/+1
2012-06-08Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into developAnton Lindqvist1-26/+44
Conflicts: system/libraries/Cache/Cache.php
2012-05-28Fix issue where cache backup is ignored on first call.Eric Roberts1-21/+17
2012-05-17Clean up the librariesAndrey Andreev1-2/+2
2012-04-27Fix Cache, Image_lib and Log librariesTimothy Warren1-1/+1
2012-04-25Added missing commas.Anton Lindqvist1-2/+2
2012-04-25Align and sort valid cache drivers.Anton Lindqvist1-7/+7
2012-04-25Merge branch 'develop' of https://github.com/EllisLab/CodeIgniter into developAnton Lindqvist1-69/+52
Conflicts: system/libraries/Cache/Cache.php
2012-04-20Start comment cleanup of librariesTimothy Warren1-13/+35
2012-03-26Switch private methods and properties to protected and cleanup the Cache ↵Andrey Andreev1-62/+47
library and drivers
2012-03-12Fix some spaces and alignments in the new Wincache driverAndrey Andreev1-12/+9
2012-03-12Merge pull request #1095 from colonelchlorine/developPhil Sturgeon1-1/+1
Added support for Wincache when running CI on Windows boxes
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-29Added support for Wincache when running CI on Windows boxesMike Davies1-1/+1
Wincache is directly analogous to APC, except with less problems on a Windows environment. Performance wise they are almost identical (for user mode caching at least). Need to have the Wincache PHP module downloaded from http://www.iis.net/download/wincacheforphp.
2012-01-21Added redis cache driver.Anton Lindqvist1-1/+1
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2011-12-25Improve the Cache libraryAndrey Andreev1-18/+18
2011-12-25Fixing soft tabs in a few files.Greg Aker1-1/+1
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-5/+17
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-07-02backed out 648b42a75739, which was a NON-trivial whitespace commit. It ↵Derek Jones1-15/+15
broke the Typography class's string replacements, for instance
2011-04-25Fixed double-space typo.Razican1-15/+15
2011-04-02Added CI_ Prefix to the Cache driver.Phil Sturgeon1-3/+3
2011-01-28updating copyrights to 2011Derek Jones1-1/+1
2010-12-21Initial commit of Caching Driver.Greg Aker1-0/+216