Make Resources cacheable
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3585725. -->
Reported by: [e0ipso](https://www.drupal.org/user/550110)
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>The <code>getResourceContent</code> method that computes the output of a resource and the output of a resource template should be cache wrapped. In order to provide cacheability metadata, we should use an approach similar to the one used in blocks. </p>
issue