-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cache fix for virtuoso (#4201) #4219
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@RutamBhagat I didn't know that this can be done. A learning! |
It is not intended to see cache requests in network too, if you see twitter they do virtual scroll nicely 🤔 |
Screen.Recording.2023-12-13.at.11.27.15.AM.mov |
Screen.Recording.2023-12-13.at.11.30.31.AM.movthey unmount too |
Damn 🤯 |
Twitter is always a engineering marvel lol 😅 |
Can you look into the tags they've used? are we sure they are loading images and not buffers? |
Oh no they are also refetching |
here goes 👇🏻 Screen.Recording.2023-12-13.at.12.41.01.PM.mov |
Just as Rishi mentioned Twitter cache requests are also visible in the network simplescreenrecorder-2023-12-13_14.40.17.mp4 |
@rishi-raj-jain @RutamBhagat this happens only if you disable cache on dev tools! if you disable it will not be called again! |
If its something related to disk cache we don't want to do any code changes, it can be easily done on network layer! |
Will react memo fix it? |
I am sorry, I am a bit confused, when I disable caching on twitter it still tries to refetch the images simplescreenrecorder-2023-12-14_17.23.58.mp4 |
No it still shows that the request is cached in the networks tab but I feel like React.memo is a cleaner implementation hey.list.mp4 |
Request is cached because we added cache headers on firewall! |
you need to disable aka uncheck the option |
Closing this, we can move discussion to issue! |
What does this PR do?
Fixes issue #4201 by caching user profiles
Related issues
Fixes # (issue)
Type of change
Explanation of the changes
/claim #4201
simplescreenrecorder-2023-12-12_23.34.08.mp4