wip: feat: refactored cache implementation for put
This commit is contained in:
		
					parent
					
						
							
								1c18f3836a
							
						
					
				
			
			
				commit
				
					
						8dd6af6bc5
					
				
			
		
					 3 changed files with 142 additions and 60 deletions
				
			
		|  | @ -47,6 +47,7 @@ where | |||
|     { | ||||
|       let mut synth_req = None; | ||||
|       if self.cache.is_some() { | ||||
|         // TODO: try reading from cache
 | ||||
|         // if let Some(cached_response) = self.cache.as_ref().unwrap().get(&req).await {
 | ||||
|         //   // if found, return it as response.
 | ||||
|         //   info!("Cache hit - Return from cache");
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jun Kurihara
				Jun Kurihara