]> git.mxchange.org Git - quix0rs-gnu-social.git/commit
caching layer for DB/DataObject
authorEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:09:41 +0000 (12:09 -0400)
committerEvan Prodromou <evan@controlyourself.ca>
Fri, 26 Sep 2008 16:09:41 +0000 (12:09 -0400)
commite2e6bbb298e8b41573e78c6acfd764cc95f6954a
treeff94ad4c3b19b13f15394090f0b0fe6e1517051b
parent7ff02bb7d4483b3dc24edd78551a3936798056a8
caching layer for DB/DataObject

I added a new class, Memcached_DataObject, that will (optionally)
fetch data out of a memcached server if it's available. This only
works on 'staticGet'.

Methods that write to the database (insert, update, delete) will clear
and set the cache correctly, too.

darcs-hash:20080926160941-5ed1f-922de078b4c1941853ad014edf9a17fae486f8cf.gz
25 files changed:
classes/Avatar.php
classes/Confirm_address.php
classes/Consumer.php
classes/Fave.php
classes/Foreign_link.php
classes/Foreign_service.php
classes/Foreign_subscription.php
classes/Foreign_user.php
classes/Invitation.php
classes/Memcached_Object.php [new file with mode: 0644]
classes/Message.php
classes/Nonce.php
classes/Notice.php
classes/Notice_source.php
classes/Notice_tag.php
classes/Profile.php
classes/Queue_item.php
classes/Remember_me.php
classes/Remote_profile.php
classes/Reply.php
classes/Sms_carrier.php
classes/Subscription.php
classes/Token.php
classes/User.php
classes/User_openid.php