Add in memory caching of small static files #6

Closed
veebs opened this Issue Apr 19, 2012 · 1 comment

Projects

None yet

2 participants

@veebs
Member
veebs commented Apr 19, 2012

Perhaps use http://code.google.com/p/kitty-cache/? Port it to scala?

@lightningdb lightningdb was assigned Apr 30, 2012
@veebs
Member
veebs commented Apr 30, 2012

Dave,

Here's a quick brain dump of what I had in mind. Happy to discuss.

  1. Maybe we should implement the cache as part of the processing context. In this way it can be used by all sorts of processors.
  2. I think I put in a cache already - but this is more for a request level. So we should a new cache called "WebServerCache" to denote the scope.
  3. We need to be able to define max memory size for the cache in WebServerConfig.
  4. Should be able to set the time an item is cached for when putting an item in the cache. For StaticFileProcessor, this can be supplied on the request just like browserCacheTimeoutSeconds.
@veebs veebs added a commit that referenced this issue May 29, 2012
@veebs veebs #6 - changed ProcessingContext.cache to ProcessingContext.item so the
word "cache" does not confuse.
81a6f43
@veebs veebs added a commit that referenced this issue Jun 1, 2012
@veebs veebs #6 - Local in memory cache a34ba3b
@veebs veebs added a commit that referenced this issue Jun 5, 2012
@veebs veebs #6 - in memory caching of small files a402670
@veebs veebs closed this Jun 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment