Am 06.07.2016 um 01:46 schrieb Tilo Werner (t...@moosbee.de):
> I'm fighting against a unattractive user experience caused by the
> slowness of the new v3 webui.
> 
> First thing I've found was "Browser Caching disabled" :-(
> 
> But:
> 
> To enable Browser Caching for static content in nginx I've added
> 
> expires max;
> 
> http://nginx.org/en/docs/http/ngx_http_headers_module.html#expires
> 
> to this nginx locations
> 
> - /SOGo.woa/WebServerResources/
> - /SOGo/WebServerResources/
> - (^/SOGo/so/ControlPanel/Products/([^/]*)/Resources/(.*)$)
> - (^/SOGo/so/ControlPanel/Products/[^/]*UI/Resources
> 
> Final config looks something like:
> 
> location /SOGo.woa/WebServerResources/
>       {
>               alias /usr/lib/GNUstep/SOGo/WebServerResources/;
>               allow all;
>                       expires max;
>         }
> 
> This change gives a (much) better score at google's pagespeed.
> https://developers.google.com/speed/pagespeed/insights
> 
> One could update the wiki entry for nginx if this is substantial and
> reliable ;-)
> 
> http://wiki.sogo.nu/nginxSettings
> 

If you do, add an hint, that this cache has to be emptied on SOGo updates.
Else you will have a lot of unspecified trouble.


Kind regards,
Christian Mack



-- 
Christian Mack
Universit├Ąt Konstanz
Kommunikations-, Informations-, Medienzentrum (KIM)
Abteilung Basisdienste
78457 Konstanz
+49 7531 88-4416

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to