Feh / nocache

minimize caching effects
BSD 2-Clause "Simplified" License
554 stars 53 forks source link

[RFC] Add option to always flush all files content #37

Closed martinetd closed 6 years ago

martinetd commented 6 years ago

Add NOCACHE_FLUSHALL environment variable and matching -f switch to the nocache wrapper.

The rationale behind this are multiple:


Hi! I've just found about this through #xfs@freenode, and it looks interesting; but needed something to skip the mincore for our use case. Figured I could make it an option, and didn't see any issue/PR mentioning this so went ahead. I've written [RFC] as it's mostly testing waters, I don't think I'd change much from this for a final version, but didn't want to spend time fiddling with details if people are against the idea.

Thanks!