Re: [SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)

2016-07-06 Thread Christian Mack
Hello

Am 06.07.2016 um 12:53 schrieb Tilo Werner (t...@moosbee.de):
> Am 06.07.2016 um 09:46 schrieb Christian Mack
> (christian.m...@uni-konstanz.de):
>  > 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.
> 
> I'm not able to create an account for the wiki. I don't know the answer. o_O
> 
> TextCha (required) Can this be an impossible question?
> 

The answer is trivial ;-)

"You better ask the right guy to have an account in this wiki."
(without quotes of course)


Kind regards,
Christain Mack

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



smime.p7s
Description: S/MIME Cryptographic Signature


Re: [SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)

2016-07-06 Thread Tilo Werner
Am 06.07.2016 um 09:46 schrieb Christian Mack
(christian.m...@uni-konstanz.de):
 > 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.

I'm not able to create an account for the wiki. I don't know the answer. o_O

TextCha (required) Can this be an impossible question?

Regards,
Tilo



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)

2016-07-06 Thread Christian Mack
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



smime.p7s
Description: S/MIME Cryptographic Signature


[SOGo] Enable Browser Caching Sogo v3 Nginx (Slow WebUI)

2016-07-05 Thread Tilo Werner
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

Greets,
Tilo



signature.asc
Description: OpenPGP digital signature