Changed the caching expiration policy from a expiration on get to a TTL on set, and...
commit595cdd1450d214cf70aa5bd3e165d953e7e43cb5
authorChris Chabot <chabotc@apache.org>
Tue, 17 Feb 2009 11:53:06 +0000 (17 11:53 +0000)
committerChris Chabot <chabotc@apache.org>
Tue, 17 Feb 2009 11:53:06 +0000 (17 11:53 +0000)
tree98657709e46a924f1faa0324afe03c3367295341
parent3d4dd18a01b3ae7865b2a89373b78bfa19874403
Changed the caching expiration policy from a expiration on get to a TTL on set, and modified the RemoteContent fetchers to use the Cache-Control: max-age or Expiration headers to determine the TTL for caching them

git-svn-id: https://svn.apache.org/repos/asf/incubator/shindig/trunk@744970 13f79535-47bb-0310-9956-ffa450edef68
php/src/common/Cache.php
php/src/common/RemoteContent.php
php/src/common/RemoteContentFetcher.php
php/src/common/RemoteContentRequest.php
php/src/common/sample/BasicRemoteContent.php
php/src/common/sample/BasicRemoteContentFetcher.php
php/src/common/sample/CacheApc.php
php/src/common/sample/CacheFile.php
php/src/common/sample/CacheMemcache.php
php/src/gadgets/SigningFetcher.php