• Jean Baptiste Favre's avatar
    Adds new feature to dispatch avatar url between different servers. · 98f064e4
    Jean Baptiste Favre authored
    That allows parallel download from most browsers.
    To avoid caching issue, server choice is "profile_id" based so that
    avatar from a specific user will always be served from same server.
    
    Introduce new configuration parameter:
    $config['avatar']['server_modulo'] = 5;
    
    Very easy to implement using, for example, DNS wildcard.
    For example, if you have following configuration:
    $config['avatar']['server']        = 'static_rrdns_.domain.tld';
    $config['avatar']['server_modulo'] = 5;
    
    Then, when building avatar's URL, domain will become, depending on profile_id:
    static0.domain.tld
    static1.domain.tld
    static2.domain.tld
    static3.domain.tld
    static4.domain.tld
    98f064e4
Name
Last commit
Last update
actions Loading commit data...
avatar Loading commit data...
background Loading commit data...
classes Loading commit data...
db Loading commit data...
doc-src Loading commit data...
extlib Loading commit data...
file Loading commit data...
js Loading commit data...
lib Loading commit data...
local Loading commit data...
locale Loading commit data...
plugins Loading commit data...
scripts Loading commit data...
tests Loading commit data...
theme Loading commit data...
tpl Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
EVENTS.txt Loading commit data...
Makefile Loading commit data...
README Loading commit data...
apple-touch-icon.png Loading commit data...
config.php.sample Loading commit data...
favicon.ico Loading commit data...
htaccess.sample Loading commit data...
index.php Loading commit data...
install.php Loading commit data...
lighttpd.conf.example Loading commit data...