1. Sorry, but I don't see this happening. As, it wouldn't be possible. When you clear your cache within the programs. It doesn't even move them to the Recycle Bin, plus it removes registry entries too (which you can't move to Recycle Bin).
2. That is what sepatares CCleaner from the rest. Doing it based on file extension is a bad idea. It can remove "needed" files or backup files that the program needs.
Just don't save any files to any Temp folder. Any normal PC user would tell you this, any disk cleaner program is set to empty the temp folders. Even the Windows Disk Cleaner.