Open ainar-g opened 1 year ago
Technically, the task can be accomplished, but the disadvantage is self-evident. As long as we have all the copied filter files located within one directory, these files could easily be maintained, monitored, etc. But in case we do not copy these files, we will lose this ability.
I have yet to see a routers flash suffer any true memory degradation from small writes such as these. https://github.com/AdguardTeam/AdGuardHome/issues/5606#issuecomment-1481782822 Especially since the routers flash is typically designed to be robust and resilient throughout its lifetime of use. If it is truly a problem, the users should consider picking a better place to store AdGuardHome.
I would prefer to keep local copy, as I have SSD. Maybe those who care about storage worn out need to make a copy in memory?
We should inspect whether this is necessary. If not, it's better to not waste resources and disk space on that.
Original message:
On the filepath-based filters, it seems that it still makes copies of local filters lists. I even made it with the exact name and local it is saved, and refreshing makes it overwrite the list with itself. Prabably that could be improved, not making copies of local lists, because it causes unnecessary writing to the router flash...
Originally posted by @cjom in https://github.com/AdguardTeam/AdGuardHome/issues/5606#issuecomment-1481782822