# 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:** 1

<div class="post-metadata">

**Author:** ![rrit](https://avatars.discourse-cdn.com/v4/letter/r/b5ac83/32.png) [@rrit](https://meta.discourse.org/u/rrit)\
**Post date:** [January 3, 2022, 9:41pm UTC](https://meta.discourse.org/t/optimizing-fcp-lcp-by-caching-raw-view-module-lookups/213759/1 "2022-01-03T21:41:03Z")

</div>

I’m trying to improve First Contentful Paint (FCP) and Largest Contentful Paint (LCP) with these two PRs:

[https://github.com/discourse/discourse/pull/15440](https://github.com/discourse/discourse/pull/15440)

[https://github.com/discourse/discourse/pull/15441](https://github.com/discourse/discourse/pull/15441)

I’m really interested in the actual impact of these changes – so please have a try and give some feedback.

And of course any help for testing, refactoring and test coverage is more than welcome.

---

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