trying to get cookie cache to work, not there yet