Use cache with RSS (#2915)
This commit is contained in:
		
							parent
							
								
									100a525507
								
							
						
					
					
						commit
						1213373027
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -44,7 +44,6 @@ export default define({
 | 
			
		|||
		},
 | 
			
		||||
		fetch() {
 | 
			
		||||
			fetch(`https://api.rss2json.com/v1/api.json?rss_url=${this.props.url}`, {
 | 
			
		||||
				cache: 'no-cache'
 | 
			
		||||
			}).then(res => {
 | 
			
		||||
				res.json().then(feed => {
 | 
			
		||||
					this.items = feed.items;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue