Fix cache issue on iOS