Interference mobile version/FastCGI cache
Hi,
My website is running on a nginx server. Today, I've decided to set up some cache parameters in my conf files. Here they are :
fastcgi_buffers 64 4K;
fastcgi_cache nginxcache;
fastcgi_cache_key $host$request_uri;
fastcgi_cache_valid any 1h;
fastcgi_cache_use_stale off;
When these parameters are on, Rainloop automatically loads the mobile version ! It's impossible to get back to the normal version by clicking on the link above the index page. When these parameters are off, Rainloop works perfectly and the detection of my screen size works well.
Do you have any idea of how this could be fixed ? Thanks !
Arnaud
You can try
fastcgi_cache_key $http_cookie$request_method$host$request_uri;
There is very little benefit to using a cache on such dynamic content.
Rather cache static objects and imap.
. https://eXtremeSHOK.com .
On 03-Jul-16 7:26 PM, Arnaud31500 wrote:
Hi,
My website is running on a nginx server. Today, I've decided to set up some cache parameters in my conf files. Here they are :
|fastcgi_buffers 64 4K; fastcgi_cache nginxcache; fastcgi_cache_key $host$request_uri; fastcgi_cache_valid any 1h; fastcgi_cache_use_stale off; |
When these parameters are on, Rainloop automatically loads the mobile version ! It's impossible to get back to the normal version by clicking on the link above the index page. When these parameters are off, Rainloop works perfectly and the detection of my screen size works well.
Do you have any idea of how this could be fixed ? Thanks !
Arnaud
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/RainLoop/rainloop-webmail/issues/1089, or mute the thread https://github.com/notifications/unsubscribe/AFrm0Bc5YjMNmvhEMdtZNwVtON-3p-fFks5qR_C6gaJpZM4JD6Pr.
Thanks for your help ! I've noticed that there was some problem on Joomla too with this cache config. It's now turned off...
Thanks again !