mirror of
				https://github.com/actions/cache.git
				synced 2025-11-04 03:04:01 +00:00 
			
		
		
		
	Update CACHING.md
Co-authored-by: Bishal Prasad <bishal-pdmsft@github.com>
This commit is contained in:
		
							parent
							
								
									0ae90725c5
								
							
						
					
					
						commit
						72f008c0fe
					
				@ -34,7 +34,7 @@ One of the most common use case is to use hash for lockfile as key. This way sam
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
### Using restore keys to download the closest matching cache
 | 
					### Using restore keys to download the closest matching cache
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If cache is not found matching the primary key, restore keys will be used to download the closest matching cache that was recently created. This way most of the dependencies can be downloaded from the restore key hence saving some build time.
 | 
					If cache is not found matching the primary key, restore keys can be used to download the closest matching cache that was recently created. This ensures that the build/install step will need to additionally fetch just a handful of newer dependencies, and hence saving build time.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```yaml
 | 
					```yaml
 | 
				
			||||||
  - uses: actions/cache@v3
 | 
					  - uses: actions/cache@v3
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user