I've been reading about the staticContent element in the web.config file but I'm having a bit of trouble figuring out exactly what ASP.Net considers static content. I assume it's going to include images, js files, css and static html files but I can't seem to find any articles that explicitly state this. Does anyone have links to documentation that explains this in detail?
As I understand it, the staticContent element in the web. config is where you can set how your site should cache it's static resource. So as to your question of what kind of content can be specified here, it would be any file that you could benefit from caching, i.e. images, video, etc.
The Web. Config file is used to configure Oracle Web Application functionality. This file is typically installed in the c:\Inetput\wwwroot\WebApp directory.
Go to Internet Information Services > Web Management Tools > IIS 6 Management Compatibility and enable IIS Metabase and IIS 6 configuration compatibility and IIS 6 Management Console. Go to Internet Information Services > World Wide Web Services > Common HTTP Features and enable the Static Content feature. Click OK.
Definition. Static content is any content that can be delivered to an end user without having to be generated, modified, or processed. The server delivers the same file to each user, making static content one of the simplest and most efficient content types to transmit over the Internet.
I think this may be the information you're missing - Static Content MimeMap
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With