How to use `{% cache %}` and `{% paginate %}` together?
Yes, the database query you'd want to cache is this:

{% paginate craft.entries.section('employment').endDate('&gt;= ' ~ now).limit(10) as pageInfo, pageEntries %}


So to get the benefits of caching, it needs to be within the cache tag.