added LRU cache for static methods