@jacobvosmaer I testet the proposed line 
    
    Gitlab::Application.config.cache_store.last

and it works the same way