what you want is a new feature that not start yet: https://issues.apache.org/jira/browse/TS-119
please find out docs from the mail list and cwiki on why this feature is hard to archive, and patch welcome as aways. - Yongming Zhao 赵永明 在 2014年6月9日,下午10:15,Jason Strongman <[email protected]> 写道: > > Is there a way to force certain objects into memory cache, and only serve > those objects from memory cache until time of expiration? I do not want those > objects even dumped to disk. Meaning keep objects in ram cache and let ram > cache eviction policy manage the object's removal. > > Currently I have tmpfs file system where I store all my 'ram only' objects. > However, if I can simply direct objects to memory cache based on something > like a cache-control header or something similar, than that would be more > desirable. As opposed to creating a disk cache from tmpfs, then placing all > objects from a certain virtual host into that disk cache(via hosting.config). > > Thanks in advance. > > >
