On 01/10/2014 10:35 AM, Brad Jorsch (Anomie) wrote:
>/ Is it allowed to hotlink to project sites, such as Commons or enwiki?
/
Yes.  Those actually scale better than Labs ever could.  :-)

-- Marc


In addition, proper cache-control directives should be set in .lighttpd.conf

E.g.

$HTTP["url"] =~ "\.(jpg|gif|png|css|js|txt|ico)$" {
    setenv.add-response-header += ( "Cache-Control" => "max-age=386400,
public" )
}

to allow static files / resources to be cached by proxies and browsers.

If there are current changes to .js and .css files, one could add some
random
query string like  foo.js?4.0  to force the browser to load the new
version instantly.


Hedonil
https://tools.wmflabs.org/wikiviewstats/

_______________________________________________
Labs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/labs-l

Reply via email to