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 i.stack.imgur.com (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]: http://i.stack.imgur.com/lvZxk.png

...still outputs its cooked HTML without the stack part, as:

<img src="http://i.imgur.com/lvZxk.png" alt="+99 up / -3 down">

But http://i.imgur.com/lvZxk.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?

share|improve this question
2  
It is, by the way, not Super User only. I've also made some dummy edits on SO. –  Arjan Sep 2 '11 at 11:50
    
I've seen this on Meta.SO & SO as well, I can't recall the links though –  Sathya Sep 2 '11 at 12:05
    
True, @Sathya, like this question on MSO. But it's not a problem for every post. Like the Markdown for another question has not been edited since January, but does include the new 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. –  Arjan Sep 2 '11 at 12:14
    
4 weeks later, now 2 of the 3 images of a specific post no longer work. October 1, October 30, ... –  Arjan Oct 30 '11 at 13:55
    
@Team, I know you know about it! ;-) –  Arjan Nov 13 '11 at 10:53
add comment

1 Answer

up vote 11 down vote accepted

Just in time for Christmas we went on a cooking spree and baked up fresh post bodies for any post that had a reference to the new i.stack.imgur.com in the revision history and had not yet been updated on the main post body.

Mmmm - delicious post bodies.

share|improve this answer
3  
That's what she said. –  jadarnel27 Dec 23 '11 at 19:40
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .