Would it be doable to re-generate the cooked (cached) HTML of all posts that hold images and were last edited between August 16 2010 and June 21 2011?
Many references to i.imgur.com
were automatically changed into new image host
(around June 20th). But it seems that for many posts the cooked HTML was not updated after the Markdown source was changed.
Like:
![+99 up / -3 down][2]
[2]: https://i.sstatic.net/lvZxk.png
...still outputs its cooked HTML without the stack
part, as:
<img src="https://i.sstatic.net/7QoQV.png" alt="+99 up / -3 down">
But https://i.sstatic.net/7QoQV.png, without stack
, no longer works†.
The revision history and the preview generate the HTML on the fly, and hence do show the images as then the URL does include stack
(making this even more confusing).
A simple dummy edit fixes it, but not many will know about that. I myself seem to have a guardian angel who fixes all my images by doing a full re-upload. But I feel that shouldn't be needed.
As an aside: if the HTML would be cooked (cached) upon first request, then "all" this takes is clearing the cooked HTML for those posts? That would distribute the server load for regenerating the HTML over a much longer period. (But it seems that currently the conversion is not on first page request.)
† Even though those were originally uploaded using the toolbar button, to the Stack Exchange Imgur pro account, which should not expire to start with?
stack
in the image URLs. (The latter is a confusing example though, as the image is actually a 404 image itself...) I've seen it happen in both questions and answers.