Whenever the user specifies a path starting with /static, it is converted into the equivalent starting from /flags, and if the file is found, it will be sent back, with the caching headers included. Check out the following screenshot for an example of this:
A static flag icon, served from a non-existing path, /static, mapped to an actual path