feat: Added logging

Fixed caching with query parameters