# Optimizing FCP/LCP by caching raw-view module lookups

**URL:** <https://meta.discourse.org/t/optimizing-fcp-lcp-by-caching-raw-view-module-lookups/213759>\
**Category:** Development\
**Created:** [January 3, 2022, 9:41pm UTC](https://meta.discourse.org/t/optimizing-fcp-lcp-by-caching-raw-view-module-lookups/213759 "2022-01-03T21:41:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)\
**Post date:** [January 4, 2022, 11:46am UTC](https://meta.discourse.org/t/optimizing-fcp-lcp-by-caching-raw-view-module-lookups/213759/4 "2022-01-04T11:46:51Z")

</div>

Hi @rrit - thanks for the PRs. The first one sounds like a good improvement. Were you able to measure the performance impact? How much time does it save?

As @sam said, the maintainability of the second one is a little concerning. It looks like it’s a copy/paste from the Ember source code? Did you change something in order to improve performance?

---

_[View the full topic](https://meta.discourse.org/t/optimizing-fcp-lcp-by-caching-raw-view-module-lookups/213759)._
