Hacker News new | ask | show | jobs
by jagged-chisel 16 days ago
> … too many additional filesystem lookups …

Caching is a thing. Only dump the cache when a changed is noticed.

1 comments

And now you have 2 problems..
I believe the OS actually caches it, and since you only modify it by interacting with the OS, the cache gets invalidated when needed.
Network filesystems, consequences of mount shadowing, crazy access control extensions, etc.. Trying to recursively monitor directories with a htaccess file in them to know if a URL requested will reach one.. It is a typical layered system problem.
Webserver/filesystem management, cache invalidation, and off-by-one errors.
Your forgot naming things :)
ok, five problems