Cache redirects from Special:Redirect
authorBrian Wolff <bawolff+wn@gmail.com>
Fri, 1 Feb 2019 01:54:08 +0000 (01:54 +0000)
committerReedy <reedy@wikimedia.org>
Sat, 21 Sep 2019 20:59:25 +0000 (20:59 +0000)
commit7ae26c302366cdd2b5c6970294e3b2b81a738efd
treef62664652047b3eb23b478b670ccf1309d0a8456
parentba7287fce6d64b72916ae7fe3f3a31c5185347d2
Cache redirects from Special:Redirect

People sometimes link these from high traffic places, so it is
important to cache in varnish.

File's with height can change so only cache that for 10 seconds.

Also change from 302 to 301.

Change-Id: I87a60c812cd1aa78a36359090c0cb8390be7183f
(cherry picked from commit f661f3373eb500949b7e421b0df5a955d2904809)
includes/specials/SpecialRedirect.php