beings the topic of caching certificates
edits algorithm