cakephp/docs — pull request #617 by TeckniX (2013-07-01 21:56:29+00:00)
Title: Added proper asset exclusion for production

Assets currently are parsed by the controller, when they should simply be ignored and sent to a webserver 404 when in a production environment.

A 404 ErrorDocument is added so that bad assets are sent to a cakePHP 404 page or could be modified to load a 'static' page

This removes bad assets from the Controller logic and prevents overloading the server when improper asset requests are made