cache models selected by id
force https on redirect