Revert "Allow already downloaded images to be cached."

This reverts commit df5ef8be90ce260cd061b7e7c638a8796232855a.
Make sure image are loaded before purging.

Using multiple web workers to load image could cause unloaded images to
be purged. This commit adds a filter before reordering.