Password makes my JS not load (Cached)

Hi,

None of my JS are loaded when password protecting my Gatsby JS website. I think it’s due to everything being cached on first load and trying to load the password protected page instead of the actual JS.

How can I solve this problem ?

Hi @a_zili, can you share the site URL? Also how are you password protecting it? Are you using basic auth? site-wide password? JWT role based auth? The more details you provide, the better. Thanks.