cleanup and anti browser cache mechanism