Tag Archives: Apache

Determining MIME type by file extension

A quick way to determine the MIME type for a file is to check the extension of the file against a mapping of known extensions to MIME types. The Apache web server provides a good list of known mappings that is easy to parse

Read more »

Static Content with Far-Future Expires Headers

An easy and efficient way to add far-future expiration tags to static content.

Read more »