Set offline mode for portal


Recently you added “portal” on member, and it work but… It depend of CDN.
Today this CDN encounter some latency in France and slow down my entire website. (Website stored behind varnish).

It can be possible to set an offline mode to keep portal.min.js without any CDN ?

Thank by advance