Yes. You have to preserve the modification time to avoid rsync makes the synchronization again and again over the same files. The option to preserve timestamp is -t, but a more convenient way is by means of -a, that is a short way to specify multiple options (-a is equal to -rlptgoD, see
rsync --help for a brief description of each option).
Code:
rsync -a --delete source dest