We'd like to enable caching for the subset of RESTBase's endpoints pertaining to the Mobile-Content-Service on the text Varnishes. Specifically, the following URIs should be cached:
- https://{domain}/api/rest_v1/page/mobile-html/{title}
- https://{domain}/api/rest_v1/page/mobile-sections/{title}
- https://{domain}/api/rest_v1/page/mobile-sections-lead/{title}
- https://{domain}/api/rest_v1/page/mobile-sections-remaining/{title}
- https://{domain}/api/rest_v1/page/mobile-text/{title}
PR 317 introduces the HTCP purging logic into RESTBase, where all of Mobile-Content-Service's endpoints are purged from the cache as soon as an update job for a specific title is received from the job runners.
Note: the purging logic has been tested in the Beta-Cluster-Infrastructure (cf T113235: Test HTCP purging in labs) and verified it works.