/[drupal]/contributions/modules/cacherouter/Cache.php
ViewVC logotype

Log of /contributions/modules/cacherouter/Cache.php

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.1.2.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Sep 5 13:03:25 2009 UTC (2 months, 3 weeks ago) by slantview
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-RC1
Changes since 1.1.2.13: +45 -6 lines
Diff to previous 1.1.2.13 , to branch point 1.1 , to next main 1.4
Big time bug fix update.

-Spent the past couple days tweaking the SHIT out of everything.
-Updated cacherouter.inc to work more like core cache.inc.
-Got all engines (except for the new memcached.inc) passing tests.
-Fixed XCache to not whites screen any more and actually work.
-Fixed eacc to actually work (and not bad I must say).  You MUST use the svn snapshot of eAccelerator for this to clear cache correctly.
tweaked apc/eacc/xcache to use files for locks for better reliability and true atomic locks.
-Fixed a ton of bugs.
-Ripped out stats.  STATS WILL NOT GO INTO 1.0.  Sorry guys, it's just not gonna happen.

I'm marking this as RC1.  Session handling and stats will go into 2.0.

Revision 1.1.4.7 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 3 09:32:11 2009 UTC (2 months, 3 weeks ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1.4.6: +15 -14 lines
Diff to previous 1.1.4.6 , to branch point 1.1 , to next main 1.4
Refactor cache creation and initialization to be better suited for programmatic cache creation.  Initial patch by Damien Tournoud.

Fix for issue #365065

Cleaned up patch a bit and kept file patches from earlier.

Thank you!

Revision 1.1.2.13 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 3 09:32:08 2009 UTC (2 months, 3 weeks ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.12: +15 -14 lines
Diff to previous 1.1.2.12 , to branch point 1.1
Refactor cache creation and initialization to be better suited for programmatic cache creation.  Initial patch by Damien Tournoud.

Fix for issue #365065

Cleaned up patch a bit and kept file patches from earlier.

Thank you!

Revision 1.1.6.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 3 09:32:04 2009 UTC (2 months, 3 weeks ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.7: +15 -16 lines
Diff to previous 1.1.6.7 , to branch point 1.1 , to next main 1.4
Refactor cache creation and initialization to be better suited for programmatic cache creation.  Initial patch by Damien Tournoud.

Fix for issue #365065

Cleaned up patch a bit and kept file patches from earlier.

Thank you!

Revision 1.1.2.12 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jan 29 04:51:33 2009 UTC (9 months, 4 weeks ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.11: +2 -2 lines
Diff to previous 1.1.2.11 , to branch point 1.1
#351497 by andypost: Removed t from menu in cacherouter.module

Thanks andy.

Revision 1.1.2.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 27 05:23:50 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.10: +1 -3 lines
Diff to previous 1.1.2.10 , to branch point 1.1
a bunch of updates, including the stuff ported from my D7 beta1.

also patched TTL issue posted by andypost in issue #331129

Revision 1.1.4.6 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Dec 27 00:15:40 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
CVS Tags: DRUPAL-7--1-0-BETA1
Changes since 1.1.4.5: +3 -3 lines
Diff to previous 1.1.4.5 , to branch point 1.1
updates for Drupal 7.  Everything is working except xcache now.

Revision 1.1.4.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 12:26:37 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1.4.4: +2 -2 lines
Diff to previous 1.1.4.4 , to branch point 1.1
Fixes apc, and general cache wiping for general wipe and wildcard wipe.

Revision 1.1.2.10 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 12:26:22 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.9: +2 -2 lines
Diff to previous 1.1.2.9 , to branch point 1.1
Fixes apc, and general cache wiping for general wipe and wildcard wipe.

Revision 1.1.6.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 12:26:08 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.6: +2 -2 lines
Diff to previous 1.1.6.6 , to branch point 1.1
Fixes apc, and general cache wiping for general wipe and wildcard wipe.

Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 09:52:36 2008 UTC (11 months ago) by slantview
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +12 -4 lines
Diff to previous 1.3
Merge with DRUPAL-7--1

Revision 1.1.4.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 09:44:13 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1.4.3: +2 -2 lines
Diff to previous 1.1.4.3 , to branch point 1.1
update cache engines.  fix Cache.php for parse error.

Revision 1.1.2.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 09:42:47 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.8: +1 -2 lines
Diff to previous 1.1.2.8 , to branch point 1.1
remove blank line.

Revision 1.1.6.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 09:28:56 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.5: +6 -3 lines
Diff to previous 1.1.6.5 , to branch point 1.1
merge engines with DRUPAL-6--1, these should all be exactly the same, but I have been updating DRUPAL-6--1 and not applying to other branches.

Revision 1.1.2.8 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 09:14:55 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.7: +6 -3 lines
Diff to previous 1.1.2.7 , to branch point 1.1
Fixes for silly typos and adding time based flushing to Database engine.

Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:43:09 2008 UTC (11 months ago) by slantview
Branch: MAIN
Changes since 1.2: +37 -11 lines
Diff to previous 1.2
Add in seperator for prefix - bin - key

Revision 1.1.4.3 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:42:51 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1.4.2: +3 -3 lines
Diff to previous 1.1.4.2 , to branch point 1.1
Add in seperator for prefix - bin - key

Revision 1.1.2.7 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:42:29 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.6: +3 -3 lines
Diff to previous 1.1.2.6 , to branch point 1.1
Add in seperator for prefix - bin - key

Revision 1.1.6.5 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:42:11 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.4: +3 -3 lines
Diff to previous 1.1.6.4 , to branch point 1.1
Add in seperator for prefix - bin - key

Revision 1.1.4.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:34:50 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1.4.1: +9 -4 lines
Diff to previous 1.1.4.1 , to branch point 1.1
Update files with $Id$ and removed some cruft.  Merged with DRUPAL-6--1

Revision 1.1.2.6 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:23:54 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.5: +9 -4 lines
Diff to previous 1.1.2.5 , to branch point 1.1
Updated all files to have $Id$ as well as a cleanup of some cruft.

Revision 1.1.6.4 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 02:14:48 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.3: +10 -4 lines
Diff to previous 1.1.6.3 , to branch point 1.1
Updated all files to have $Id$ as well as a cleanup of some cruft.

Revision 1.1.4.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Dec 26 01:46:39 2008 UTC (11 months ago) by slantview
Branch: DRUPAL-7--1
Changes since 1.1: +43 -7 lines
Diff to previous 1.1
Merge with DRUPAL-6--1 in order to start working on a "real" Drupal 7 branch

Revision 1.1.2.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Dec 18 22:13:20 2008 UTC (11 months, 1 week ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.4: +4 -2 lines
Diff to previous 1.1.2.4 , to branch point 1.1
#330927 by Nick_vh, R.Muilwijk: Fix file caching.  Thanks!

Revision 1.1.6.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 21:00:44 2008 UTC (12 months, 3 weeks ago) by slantview
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0-BETA8, DRUPAL-5--1-0-BETA9
Changes since 1.1.6.2: +27 -11 lines
Diff to previous 1.1.6.2 , to branch point 1.1
Fix for static caching.  Now we default to FALSE for static cache so that modules
like menu and localization that use their own static cache will not have use
additional memory beyond what is needed.  Basically we need to turn this on for
bins that don't do this by default.

Fixes:

#328465 by R.Muilwijk

Revision 1.1.2.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 21:00:25 2008 UTC (12 months, 3 weeks ago) by slantview
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA8
Changes since 1.1.2.3: +25 -10 lines
Diff to previous 1.1.2.3 , to branch point 1.1
Fix for static caching.  Now we default to FALSE for static cache so that modules
like menu and localization that use their own static cache will not have use
additional memory beyond what is needed.  Basically we need to turn this on for
bins that don't do this by default.

Fixes:

#328465 by R.Muilwijk

Revision 1.1.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 20:33:50 2008 UTC (12 months, 3 weeks ago) by slantview
Branch: DRUPAL-6--1
Changes since 1.1.2.2: +9 -0 lines
Diff to previous 1.1.2.2 , to branch point 1.1
Fix page_fast_cache so that we can actually turn it off in the configs.

Fixes people's request to still see anonymous stats.

#315538 by higherform, #329426 by idontknowtheanswer

Revision 1.1.6.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Nov 3 20:33:37 2008 UTC (12 months, 3 weeks ago) by slantview
Branch: DRUPAL-5
Changes since 1.1.6.1: +8 -0 lines
Diff to previous 1.1.6.1 , to branch point 1.1
Fix page_fast_cache so that we can actually turn it off in the configs.

Fixes people's request to still see anonymous stats.

#315538 by higherform, #329426 by idontknowtheanswer

Revision 1.1.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 31 02:19:28 2008 UTC (12 months, 4 weeks ago) by slantview
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA6, DRUPAL-6--1-0-BETA7, DRUPAL-6--1-2-BETA5
Changes since 1.1.2.1: +3 -3 lines
Diff to previous 1.1.2.1 , to branch point 1.1
Ok, I need to step back at look at this some times.  I had the $this->lookup
and $this->lock for D6 but NOT D5 so I added it back in and backported to D5.

This should be working tits now.

Word!

Revision 1.1.6.1 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Oct 31 02:18:26 2008 UTC (12 months, 4 weeks ago) by slantview
Branch: DRUPAL-5
CVS Tags: DRUPAL-5--1-0-BETA6, DRUPAL-5--1-0-BETA7, DRUPAL-6--1-0-BETA5
Changes since 1.1: +12 -2 lines
Diff to previous 1.1
Ok, backported the prefixing and lock variable naming from the D6 branch.

Fixes #277078.

Revision 1.1.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 02:04:34 2008 UTC (17 months, 3 weeks ago) by slantview
Branch: DRUPAL-6--1
CVS Tags: DRUPAL-6--1-0-BETA4
Changes since 1.1: +12 -2 lines
Diff to previous 1.1
Branching from HEAD.

Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 2 01:30:08 2008 UTC (17 months, 3 weeks ago) by slantview
Branch: MAIN
Changes since 1.1: +12 -2 lines
Diff to previous 1.1
Big updates.  Much appreciated the help from the following issues:

http://drupal.org/node/262830 - andypost:
-----------------------------------------
cacherouter.inc
* changed parameters to cache.inc style
* added comments from cache.inc

Cache.php
* added check for existence $conf mappings
* lookup & look variables are in-class and sharable
* prefix now stored with '-' sign if is set

CacheRouter.php
* added check for existence $conf mappings

Engines
db.php
* return 0 as in cache.inc
* overload flush to clean expired

apc memcache xcache
* lookup-keys are shared (for multisite) and now stores $expire param

Added eAccelerator engine


http://drupal.org/node/264428 - triclops
-----------------------------------------
* Fixed prefix issue


http://drupal.org/node/264430 - triclops
-----------------------------------------
* Changed $map to $this->map


Thanks to everyone for testing this.

Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 31 08:40:50 2008 UTC (19 months, 4 weeks ago) by slantview
Branch: MAIN
CVS Tags: DRUPAL-5--1-0-BETA1, DRUPAL-5--1-0-BETA2, DRUPAL-5--1-0-BETA3, DRUPAL-5--1-0-BETA4, DRUPAL-6--1-0-BETA1, DRUPAL-6--1-0-BETA2, DRUPAL-6--1-0-BETA3
Branch point for: DRUPAL-5, DRUPAL-6--1, DRUPAL-7--1
Initial commit of CacheRouter

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

  ViewVC Help
Powered by ViewVC 1.1.2