I have several images that I use as background of post headings. Those images are shared between several posts on the same subject. I try to use symlinks as much as possible, and Hugo does indeed follow them when it’s building the site.
However, after the site is built, those symlinks are turned into unique files. So, as you can imagine, Hugo leaves me with duplicates of the same images in different locations. This is unfortunate, because a visitor will be downloading files with the same content multiple times, instead of getting the file from his browser cache for each linked instance.
What is the preferred solution to this problem? If possible, I’d like to avoid putting those files into /static/images.