Skip to content

Standardize createId(), use last modified time#2013

Merged
petebankhead merged 1 commit intoqupath:mainfrom
petebankhead:server-id
Oct 14, 2025
Merged

Standardize createId(), use last modified time#2013
petebankhead merged 1 commit intoqupath:mainfrom
petebankhead:server-id

Conversation

@petebankhead
Copy link
Member

@petebankhead petebankhead commented Oct 14, 2025

Fixes #2012

Opening an image in QuPath after it has been modified should no longer result in tiles being returned from the cache - at least for OpenSide, ImageJ and Bio-Formats - because the ID used for caching now includes the last modified time of the original file.

Other ImageServer implementations are responsible for creating their own ID that encodes this information, or using the new ServerTools.createDefaultID method.

Fixes https://forum.image.sc/t/bioformats-importer-issue/25439/2

Opening an image in QuPath after it has been modified should no longer result in tiles being returned from the cache - at least for OpenSide, ImageJ and Bio-Formats.

Other ImageServer implementations are responsible for creating their own ID that encodes this information, or using the new `ServerTools.createDefaultID` method.
@petebankhead petebankhead added this to the v0.7.0 milestone Oct 14, 2025
@petebankhead petebankhead merged commit 4f8e95f into qupath:main Oct 14, 2025
3 checks passed
@petebankhead petebankhead deleted the server-id branch October 14, 2025 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tile caching based on image path isn't enough whenever files change on disk

2 participants