Use the shared smarty cache instead of handling it manually
author Chris Han
()
committer Chris Han
()
commit a90d5d8ccbc399912946060b0f11d3e57d605568
tree febf86efb75ba7ea383a0d8885c62bb2083c8c01
parent a128e03ebdbcb538823ec9bf06c2d6486bb0c881
Use the shared smarty cache instead of handling it manually

This cuts down the code and allows us to use memcache if configured.
Since the list of projects is background-level data (and not HTML
pages), it uses the object cache. But since it's not immutable like git
objects, the lifetime uses the regular cache lifetime setting, which is
generally set shorter than the object cache lifetime (that could even be
set to -1).
include/cache/Cache.class.php
include/git/ProjectListDirectory.class.php
comments