A cavernicole which frequently completes its life cycle in caves but is not confined to this habitat.
A good example are bats, which like to use caves as roosts and for hibernation, but can also cope with crevices, hollow trees or human ruins.
Search DuckDuckGo for "Troglophile"