App Router میں متعدد caching layers ہیں جو ایک ساتھ کام کرتے ہیں۔ انہیں سمجھنا بتاتا ہے کہ ڈیٹا کبھی کبھی پرانا کیوں نظر آتا ہے اور تازگی کو کنٹرول کیسے کریں۔
چار caches
1. Request Memoization — dedupes identical fetch() calls within ONE render pass
2. Data Cache — persists fetch() results across requests & deploys (server)
3. Full Route Cache — caches the rendered HTML/RSC of static routes (build time)
4. Router Cache — client-side cache of visited routes (in the browser, per session)
1. Request Memoization
user = ();
