CakePHP 404 on deployment solution

Snippet

Sometimes I experience a 404 error while opening a view of a newly added controller. I found out that this issue is due to cache problems, so removing the cache (usually found in tmp/cache) can solve this problem. Also delete the persistent directory inside the cache dir.

Sometimes I experience a 404 error while opening a view of a 
newly added controller. I found out that this issue is due to 
cache problems, so removing the cache (usually found in 
tmp/cache) can solve this problem. Also delete the persistent 
directory inside the cache dir.
 
So, in my deployment uploaded_files/tmp/files/cache