Playbooks
Moments Prefetch Integration Overview
6 min
overview the moments prefetch integration enables your app or website to load offers in advance, ensuring they're ready to display instantly when users reach the relevant screen this reduces load times and improves the overall user experience prefetching is available through both our sdk and api, giving you the flexibility to choose the right path based on how you manage rendering why use prefetch mode? instant offer display offers are ready before users arrive on the screen, reducing wait times improved performance prefetched content avoids rendering delays, especially in webview based experiences optimized user journey deliver timely, relevant perks when users are most engaged supported integration paths you can implement prefetch mode in one of two ways sdk prefetch offers are prefetched and rendered using the momentscience sdk api prefetch offers are prefetched using the moments api, and you manage rendering in your app both options support caching, fallback logic, and customizable event tracking when to use prefetch prefetching is recommended when you want to reduce latency in offer loading your app flow allows for early identification of user context (e g ip, ua, membership id) before showing an offer you want to prepare a moment in advance but display it only when the user reaches a specific screen or interaction point platform specific guides choose the guide that fits your platform flutter – moments prefetch integration guide docid\ hgz05dk3mbrj 72ov26zo ios – moments prefetch integration guide docid\ aeuepsgjei79txl8nofxv android – moments prefetch integration guide docid\ nfujjiblqgamzrp0f0orr 📢 if you're running into any issues while going through the integration process, feel free to contact us at help\@momentscience com