Project

General

Profile

Bug #10444

Updated by Radhika Chippada over 7 years ago

The current caching model is not helping here. In workbench arvados_base, we use the following for cache_key. 
 Here the "Thread.current.object_id" changes for each request making the cache basically useless in this context. 
 Suggest using the current user token instead. 

 <pre> 
    cache_key = "request_#{Thread.current.object_id}_#{self.to_s}_#{uuid}" 
 </pre>

Back