Docs Menu

Configure File Metadata

On this page

  • Overview
  • Procedure
  • Navigate to the File in the File Tree
  • Add a New Attribute
  • Select the Attribute Type and Value
  • Pull Your App's Latest Configuration Files
  • Add Attributes to the Metadata Configuration File
  • Import the File Metadata Configuration

You can configure a file's metadata attributes to describe aspects of the file, such as its content type, language, or encoding. You can also use metadata attributes to configure the CDN's caching behavior and specify how clients should handle files when they access them.

Note

If you do not specify a Content-Type metadata attribute for a hosted file, Atlas App Services will attempt to automatically add a Content-Type attribute to it based on the file extension.

For example, App Services would automatically add the attribute Content-Type: application/html to the file myPage.html.

←  Enable HostingFile Metadata Attributes →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.