DEV Community

Discussion on: Restric Access to Cloudfront Distribution using Lambda@Edge

Collapse
 
khbhh profile image
Karni Bedirian • Edited

Really helpful tutorial, thank you, and I get it working! Just a question/advice. When I have one tab open of my app running through CloudFront, it asks for username and password, following this tutorial. But when I open a second tab and run the app, it does not ask for username password. My point is that the username and password is being cached somehow. Is there a way for this not to happen? So that everytime I open my app, asks me for username and password?

Is there a way to erase caching history for that?

I appreciate your guidance, thank you again!