<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<pre>On 01/10/2014 10:35 AM, Brad Jorsch (Anomie) wrote:
><i> Is it allowed to hotlink to project sites, such as Commons or enwiki?
</i>
Yes. Those actually scale better than Labs ever could. :-)
-- Marc</pre>
<br>
In addition, proper cache-control directives should be set in
.lighttpd.conf<br>
<br>
E.g.<br>
<br>
$HTTP["url"] =~ "\.(jpg|gif|png|css|js|txt|ico)$" {<br>
setenv.add-response-header += ( "Cache-Control" =>
"max-age=386400, public" )<br>
}<br>
<br>
to allow static files / resources to be cached by proxies and
browsers.<br>
<br>
If there are current changes to .js and .css files, one could add
some random<br>
query string like foo.js?4.0 to force the browser to load the new
version instantly.<br>
<br>
<br>
Hedonil<br>
<a class="moz-txt-link-freetext" href="https://tools.wmflabs.org/wikiviewstats/">https://tools.wmflabs.org/wikiviewstats/</a><br>
<br>
</body>
</html>