Is there a CacheService equivalent in Craft 3? CacheService is exactly what I need to cache a custom API endpoint in PHP, but I don't see it in Craft 3. What would be the correct way to do this in Craft 3?
It's still there, but you're working at the Yii2 layer: The Definitive Guide to Yii 2.0: Data Caching