class Jekyll::PathManager

A singleton class that caches frozen instances of path strings returned from its methods.

NOTE:

This class exists because `File.join` allocates an Array and returns a new String on every
call using **the same arguments**. Caching the result means reduced memory usage.
However, the caches are never flushed so that they can be used even when a site is
regenerating. The results are frozen to deter mutation of the cached string.

Therefore, employ this class only for situations where caching the result is necessary
for performance reasons.