public static void addNoCacheControl(ExternalContext externalContext) {
        addNoCacheControl(externalContext, false);
    }
Adds no cache pragma to the response to ensure it is not cached.  Dynamic downloads should always add this
to prevent caching and for GDPR.

@param externalContext the ExternalContext we add the pragma to
@see <a href="https://github.com/primefaces/primefaces/issues/6359">FileDownload: configure Cache-Control</a>
primefaces/src/main/java/org/primefaces/util/ResourceUtils.java