Update middleware.js to support unique cache key for private api.
Update middleware.js to support unique cache key for private api.
Merge remote-tracking branch 'origin/cache_fix' into cache_fix

Conflicts:
	initializers/middleware.js
Merge pull request #99 from Ghost141/cache_fix

Cache fix