Disable image caching

I’ll be running a cesium website, with local tiles, some of which will change dynamically (will be uploaded by client). Is there a way to disable image caching, so that the newly uploaded images can be seen right away? Thanks.

I’m aware that image caching is a feature of client browser and not the server, but I hope there must be a way to trick client browser not to cache images …

Sorry, I don’t know of any way to keep imagery from caching through our code. You might be able to set for you application.
I don’t think disabling cache is a good idea though. Caching imagery and terrain tiles prevents a lot of data from being retrieved every time someone runs your application.


Thanks for the reply, I made a compromise decision to force cache expiring every 24 hours, by adding these lines in .htaccess

<FilesMatch “.(png)$”>
Header set Cache-Control “max-age=86400”