Page MenuHomePhabricator

Determine how PCS will be informed about resource changes in a world without RESTbase
Open, Needs TriagePublic

Description

Our current expectation is that PCS will need to continue to rely on pre-generating content to meet performance requirements. This means it will need to be informed about the need to re-generate certain resources when a page (rendering) has changed.

Currently, both storage and pre-generation are handled within restbase. The ChangeProp service will send a request to the respective RESTbase endpoint with the Cache-Control: no-cache set.

Once PCS manages its own cache/store, ChangeProp will need to make this request directly to PCS. Or PCS will need to listen to Kafka through some other mechanism.