AJAXのJSONペイロードを返すカスタムビューがあります。
class DataSource(grok.CodeView):
    """
    Generate JSON array needed to populate the fields
    """
    grok.context(ISiteRoot)
    grok.name("dgftreeselect-test-data")
    def render(self):
        self.request.response.setHeader("Content-type", "application/json")
        return json.dumps(SAMPLE_DATA)
結果のHTTP応答にplone.app.cachingのmoderateCaching操作を適用したいと思います。
Pythonで私の意図を表現するための最短で最も美しい方法は何でしょうか?
そして、もっと簡単な場合は、「ブラウザ/フロントエンドプロキシに24時間キャッシュする」と直接言ってください。