appcache

.appcacheHTML Application Cache

W3C · 2009

Developer
W3C
Category
Web Files
MIME Type
text/cache-manifest
First Released
2009
Open Format
Yes
File Signature
N/A (plain text file)
At a Glance
.appcache
HTML Application Cache

It's a manifest file used by web browsers to enable offline access and faster loading of web applications.

Reviewed on June 25, 2026
Compression
Plain text
Transparency
N/A
Editability
High
Best for
Offline web app resources

Key Features

  • Enables offline web application functionality.
  • Improves web application loading speed.
  • Defines which application assets to cache.
  • Works with HTML5 browser capabilities.

Best For

  • Web applications requiring offline access.
  • Improving the perceived performance of web apps.
  • Creating a more resilient web experience on unstable networks.

Less Ideal For

  • Storing sensitive user data offline.
  • Complex offline data synchronization needs.
  • Desktop application distribution.
  • Caching of infrequently used resources that don't benefit from offline access.

Common Use Cases

  • Allowing users to access parts of a web app without internet.
  • Speeding up the initial load time of frequently used web applications.
  • Providing a more robust user experience for mobile web apps.
  • Enabling progressive web apps (PWAs) to work offline.

How to Open It

  1. These files are not typically opened directly by users. They are read by web browsers when a web application that uses them is accessed.
  2. Developers can open and edit .appcache files using any plain text editor, such as Notepad (Windows), TextEdit (macOS), or VS Code.
  3. To see the effect, you need to serve a web application from a web server that is configured to recognize and use the manifest file.

What is a .appcache file?

An HTML application cache manifest file is a text file that tells a web browser which resources (like HTML, CSS, JavaScript, and images) should be cached for offline use. It allows web applications to function even when a user's internet connection is unstable or completely unavailable. By defining these assets, the browser can load the application much faster and ensure a consistent user experience, regardless of connectivity.

Programs That Open .appcache Files

PlatformProgram
WindowsNotepadFree
Visual Studio CodeFree
macOSTextEditFree
Visual Studio CodeFree
LinuxgeditFree
Visual Studio CodeFree
Web BrowserAny modern web browser (Chrome, Firefox, Safari, Edge)FreeOfficial

Common Problems with .appcache Files

⚠️ Manifest file not found or incorrect path.
Ensure the manifest file path is correctly specified in the HTML tag and that the web server is serving it with the correct MIME type (text/cache-manifest).
⚠️ Browser not updating to a new manifest.
Clear browser cache or use cache-busting techniques (e.g., incrementing a version number in the manifest) to force a re-download.
⚠️ Application does not work offline as expected.
Verify all necessary assets are listed in the manifest and that the FALLBACK section is correctly configured for offline browsing.

Frequently Asked Questions

Is .appcache still relevant for modern web development?

The .appcache manifest was an early approach to offline web apps. While still functional, modern Progressive Web Apps (PWAs) generally use Service Workers, which offer more powerful and flexible offline capabilities and lifecycle management.

Can I use .appcache for any file type?

Yes, you can list almost any type of web asset in the .appcache file, including HTML, CSS, JavaScript, images, fonts, and even other binary files needed by your application.

What's the difference between .appcache and a Service Worker?

While both enable offline functionality, Service Workers are more advanced. They act as a programmable network proxy, allowing for more control over caching strategies, background sync, push notifications, and are the preferred method for modern PWAs.

Technical Details

The .appcache file is a plain text document with a specific structure that lists files to be cached. It typically includes sections like CACHE MANIFEST, FALLBACK, and NETWORK. The browser reads this manifest to download and store the specified resources locally.

Did You Know?

The application cache was introduced as part of the HTML5 specification.
It was one of the first built-in browser mechanisms to allow web applications to work offline.

Security Information

Application cache files themselves do not typically contain sensitive information, but they define which assets are cached. Ensure that no sensitive data or code is inadvertently made available offline via the manifest.

Related Extensions