Is there way to find out how long a webserver set the expiration time (Max-time) for image files when you browse a site?
Yes, you need to look for a Headers that server sends in you response to image request.
Usually you can see, something like this in headers:
With no specific cache control headers. Which gives you browser opportunity to make subsequent requests with header:
and keep file in cache as long as forever, while server keeps returning