.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Right MIME Type for Application Cache

Posted By:Jean Paul       Posted Date: January 31, 2016    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this post we will explore the correct MIME type for Application Cache. You can also refer to the W3C information here.

For HTML5 Application Cache to work we need to specify the cache file. This cache file will specify the application files which need to be cached.


The MIME (Multipurpose Internet Mail Extension) Type will vary for each extension.

For example: .ttf extension is pre-registered with MIME type application/x-font-ttf which makes the browser treat the file of such extension as font.


The cache file should be of the correct extension. For the Application Cache to work the MIME type should return text/cache-manifest.

Following is the correct extension:

  • .cachemanifest

The following extension is wrong as the MIME type associated as it returns application/x-ms-manifest

ยท .manifest


Open IIS Manager to view the MIME types registered as shown below.



The above cache extension was tested in IE 11 and was working fine.  Please test with other browsers to ensure proper functioning of cache extension.  If you have a separate requirement of adding/editing MIME types in O365, the preferred approaches would be:

  1. Try Get-SPWebApplication Cmdlet
  2. Contact Microsoft Support


In this post we have explored the correct MIME type for Application Cache.  You can also refer to the W3C information here.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend