Browse Source
			
			
			
			
				
		Non-cache-busted assets such as /dist/core-main.js also matched the regex meant for cache-busted assets (note the ? at the end of the regex). The FilesMatch directive for cache-busted assets coming after the non-cache-busted version all assets actually got the immutable flag in their Cache-Control header. This caused client-side errors on updates. Query strings are not actually passed to FilesMatch directives so we need another way to tell cache-busted/versionned assets apart from non-versioned assets, here using If/Else directives. Signed-off-by: Nicolas Guichard <nicolas@guichard.eu>pull/37010/head
							committed by
							
								 Simon L
								Simon L
							
						
					
				
				 1 changed files with 6 additions and 5 deletions
			
			
		
					Loading…
					
					
				
		Reference in new issue