News for hackers. Stuff that matters.
Re:Show HN: I made a customizable iOS browser for minimalist... by eviks on Sunday July 23, 2023 @12:02PM (#36836590)
Buy why can't they store page cache as local data and continue to use webview to open it?
Re:Show HN: I made a customizable iOS browser for minimalist... by Tagbert on Sunday July 23, 2023 @03:19PM (#36838716)
It is likely the OS that is clearing those tabs from memory. The app may not get any notifications. IOS does not have virtual memory that can be saved to storage and restores on request. IPadOS does now have that on the newer M1 processor versions. They also have 8GB of RAM so they are less likely to need to purge or swap.
Re:Show HN: I made a customizable iOS browser for minimalist... by eviks on Sunday July 23, 2023 @11:34PM (#36842830)
Still not clear why the app can't save the page itself to storage on every page load, then let OS clear the memory and not notify anyone, then if it's purged, reload from local file
Re:Show HN: I made a customizable iOS browser for minimalist... by Tagbert on Monday July 24, 2023 @08:45PM (#36856301)
That sounds like the app would need to implement their own RAM paging and that is a complicated and error prone endeavor and likely not worth the effort for he developer. I don't even know if an iOS app would have the system hooks to be able to do it.
Re:Show HN: I made a customizable iOS browser for minimalist... by eviks on Tuesday July 25, 2023 @09:49AM (#36862155)
why not just save the page as html? Isn't that what official Safari does with the reading list?
Re:Show HN: I made a customizable iOS browser for minimalist... by saagarjha on Friday July 28, 2023 @04:14AM (#36904225)
Pages can rewrite themselves at any time.
Re:Show HN: I made a customizable iOS browser for minimalist... by eviks on Friday July 28, 2023 @05:36AM (#36904681)
so? having something good most of the time beats having nothing all of the time
Re:Show HN: I made a customizable iOS browser for minimalist... by the_gipsy on Sunday July 23, 2023 @05:18PM (#36839933)
Because it's some opaque component, and it's the only thing you can use on iOS. Firefox and chrome are just chrome/shells around safari's engine and all suffer from this problem.