How do I disable caching of an individual file in IIS 7 using weserver config settings

后端 未结 6 793
独厮守ぢ
独厮守ぢ 2020-12-05 09:22

Is there any way to diable the caching of a single javascript file in my ASP.NET applicaiton without disabling the caching of any other files in the application?

It

6条回答
  •  孤街浪徒
    2020-12-05 10:14

    You can disable output caching on folder level by removing an extension on folder level by including a web.config in that folder like this

    
    
      
            
                
                    
                
            
    
      
    
    

    now this folder will not have output caching enabled for files ending with .js

提交回复
热议问题