The most important part of the question is in the topic.
I am wondering what tag is best for which case. Moreover... I found code, that also use settings.STATI
Refer to the docs, where there is a nice explanation of it.
Actually the {% static %} template tag know the location of STATICFILE_STORAGE
As docs say :
{% load static from staticfiles %}The previous example is equal to calling the url method of an instance of STATICFILES_STORAGE with "images/hi.jpg".
This is especially useful when using a non-local storage backend to deploy files as documented in Serving static files from a cloud service or CDN.
If you’d like to retrieve a static URL without displaying it, you can use a slightly different call:
{% load static from staticfiles %} {% static "images/hi.jpg" as myphoto %}![]()
Hope that helps!!