Hi @NEERAJ SINGH RAJPUT
Thanks for the question and using MS Q&A platform.
I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to accept the answer.
Ask: images & icons not loading randomly and sometimes 404 page loading in SWA
Solution:I don't know why but it is working correctly now. But, the issue was getting 404 for images, icons or site and on refresh I was able to get that 404 thing which ever it is and sometimes it does required multiple refreshes or force refresh(ctrl+shift+r). But thankfully issue has been already sorted automatically.
Please don’t forget to Accept Answer
and Yes
for "was this answer helpful" wherever the information provided helps you, this can be beneficial to other community members.