Mime Types
Mime Types used to deliver content on the Internet.
- How to use the AVIF image format in PHP; A1 or AVIF is a new image format that offers better compression than WebP, JPEG and PNG, and that already works in Google Chrome.
- About the correct mime type for MP4 files, delivering video files from PHP, working with video codecs and containers, editing, and more.
- Information about the WebP content type, and how we might handle webp images in PHP.
- About using the PNG mime type to deliver images to clients from the server side.
- The HTML Mime Type is the default used by PHP, and you need to actively change it to deliver other types of content.
- There has been some confusion about which mime type is correct for plain text on the web, and while both might work, only one is correct.
- Tutorial on delivering jpeg files with the correct mime type and headers using PHP.