On Thu, Sep 4, 2014 at 3:05 PM, Daniel Schwen <lists(a)schwen.de> wrote:
I was told thumb.php is evil (for lack of caching).
I'm using special:redirect with the width=640 parameter.
I'm not sure there is a difference (both hit PHP and neither will recreate
the image if it exists already), but thumb.php will result in an error if
the size is too large, while Special:Redirect will return the original
file, so probably that's the cleanest solution:
https://commons.wikimedia.org/w/index.php?title=Special:Redirect/file/30C3_…
(this form will work better if the file name contains a question mark)