Resolve a bug : switch locale caused error with http cache