Some main setup for duplays, introducing cache