AdamVig / GoCoApi

API Server for the GoCoStudent app.
https://gocostudent.adamvig.com/api
GNU General Public License v3.0
0 stars 0 forks source link

Fix caching support #17

Closed AdamVig closed 8 years ago

AdamVig commented 8 years ago

Currently, the cacheGlobal() method in cache.js is unused, and global caching seems to be entirely disabled. The whole file could be refactored to be clearer, as well.

This depends on #4 "Run CouchDB on server instead of externally", because testing the global cache would require modifying documents in the actual database (issue is now closed).

AdamVig commented 8 years ago

All caching is disabled currently because the getData() function is not used in the Endpoint class. This function should be put back into use.