The system uses the resized versions of media files only if you use the permanent URLs. Please see the settings in:
Site manager -> Settings -> Media libraries -> Site: <your site> -> Use permanent URLs
If the checkbox is unchecked it does not use the resized images from disk. If you check the checkbox it can greatly improve the page performance.