datadavev / DwC_views

Implements viewers for Darwin Core record repositories
1 stars 0 forks source link

Gateway API - Field Caching #14

Open coreyo opened 13 years ago

coreyo commented 13 years ago

Implement local caching of field data so that it does not need to be re-requested from the SOLR database with every DwC Views request. Fields cache expiration time should be a dynamic, configurable option.

coreyo commented 13 years ago

quote form vdave:

-- snip -- Yep. Django has fairly decent caching functionality - take a look and evaluate if that might provide a viable alternative to memcache. https://docs.djangoproject.com/en/dev/topics/cache/

coreyo commented 13 years ago

This one is a can of pain. It would appear that most of the (useful) native django caching is broken with the google appengine. A solution that will work in both environments will require a coded hack in every place that calls the caching function.