web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Web File refuses to re...
Power Pages
Unanswered

Web File refuses to refresh

(1) ShareShare
ReportReport
Posted on by 47
Hi there.
 
I am trying to put some javascript code in a web file that im accessing throughout my app.
 
I am deleting the original file (inside the web file edit interface), and uploading the new one.
 
Then im pressing sync in the design studio, hard refreshing the page, and even purging the website cache and the updated file will still not appear.
 
I can download the file from the web file edit interface, and see that the change has been made, but the server just wont serve the new one.
 
Anyone got an idea of how to fix this? I was just using snippets instead because at least they update immediately, but i wanted to swap to web files because i believed that is the better practice.
Categories:
I have the same question (0)
  • Suggested answer
    Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at
    Sometimes they can take longer to update to the portal. May be quicker if the filename of the file you upload is a different name than the one you are replacing (e.g. when I replace Web Files I usually include a version number in the filename).
     
    Also, if you've only done F5 or <ctrl><F5>  a hard refresh of your browser may work if the browser is caching it F12 to open the browser console/dev tools, then right click on your browsers refresh button to get the Hard refresh option (without the console open you only get 2 options)
     
    Also, you could try Restarting the portal this will 'bounce' the site and force it to reload its cache.  From https://admin.powerplatform.microsoft.com/resources/portals
    • Select Manage from under the 3 dots to the right of your sites name
    • Then in the page that loads in the command bar Site Actions -> Restart site 
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard