First commit with LRU support.  works with spec case, need more testing to confirm