How to Prevent Cached Images from Displaying on SharePoint Pages
Question details
The user needs a way to stop SharePoint pages from showing older, cached versions of images when the image files are updated without a filename change.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Updating image files on a SharePoint site while keeping the exact same filename as the original.
- Observed behavior
- SharePoint modern pages display the old, cached version of the image instead of the newly updated file, and web parts experience synchronization delays despite hard browser refreshes.
Ensure you have the appropriate permissions to edit the affected SharePoint site pages and manage site assets before attempting to modify image URLs or filenames.
Rename Image Files Before Uploading
The most reliable workaround for SharePoint's native caching behavior is to ensure the browser recognizes the newly uploaded image as a completely new file.
Because there is no simple setting to disable SharePoint image caching completely, forcing a filename change is the easiest way to bypass server and browser caches.
Before uploading the new image to your SharePoint document library or Site Assets, change its filename locally (e.g., append a version number or date like 'banner_v2.png').
Upload the newly named image file into your SharePoint library.
Edit your SharePoint page, select the Image web part, and re-link it to the newly uploaded image file.

Automate Image Updates using Power Automate
For persistent synchronization delays on large sites, you can use Power Automate to force page or image updates via the SharePoint REST API.
Perform a Hard Browser Refresh
A quick, temporary fix for individual users attempting to view the latest version of an updated image.
Manage Your Documents Effectively with WPS Office
While SharePoint handles your team's intranet and web pages, you can use WPS Office as a lightweight, free alternative to Microsoft Office for editing the documents and spreadsheets you store in your cloud libraries. It offers a familiar interface and seamless migration.
- 1. Download and install: Get WPS Office for free from the official website and install it on your device.
- 2. Open your files: Seamlessly open your existing Microsoft Word, Excel, and PowerPoint files.
- 3. Edit and save: Make your edits and save them in standard Office formats to share with your team.

Frequently Asked Questions
Why does SharePoint keep showing my old image even after I replaced the file?
SharePoint uses aggressive caching to improve page load speeds. If an updated image file retains the exact same filename as the original, the browser and server assume the file hasn't changed and will load the old, cached version to save bandwidth.
Can I permanently disable image caching on SharePoint Modern pages?
No, there is currently no simple out-of-the-box setting to completely disable image caching on SharePoint Modern pages. Caching is managed natively by Microsoft 365 to ensure optimal site performance.
Does a hard refresh fix the SharePoint image issue for everyone?
No, a hard refresh (Ctrl + F5) only clears the local browser cache for the specific user performing it. Other visitors to the SharePoint site may still see the old image until their own cache expires or the server-side cache updates.
How can I use versioned URLs for SharePoint images?
If you are embedding images via code or text web parts, you can manually append a query string to the end of your image URL (e.g., image.png?v=2). For standard Image web parts, simply renaming the actual file before uploading is the most effective approach.




