[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Configuration issue: multiple accounts


Hi,

next time please do not send 3 emails instead of one ...

You problem is 99% related to browser cache (what is a completely different thing than HTML5 cache).

There is a .htaccess file which adds proper cache headers to files (.js, .html, ...). If .htaccess is not processed
by your HTTP server, then your browser caches the config.js (and all other files including cache.manifest which
is updated by ./cache_update.sh) so the changed files are NOT downloaded by your browser.

You need to:

1.) delete all caches in your browser
2.) set your HTTP server to process the .htaccess file (which correctly sets the cache header => standard browser cache is completely disabled)

and then your config will work (because the client will download the latest source code + config.js) ...


Cheers,


JM


> On 28 Jul 2016, at 15:24, Bastien Sevajol <bastien.sevajol@xxxxxxxx> wrote:
> 
> Hi,
> After apply the path and execute cache_update.sh, i have similar behaviour:
> With these 3 configured calendars:
>> 
>> {
>>         href: 'http://127.0.0.1:5232/user/1.ics/ <http://127.0.0.1:5232/user/1.ics/>',
>>         userAuth:
>>         {
>>             userName: 'admin@admin.admin <mailto:admin@admin.admin>',
>>             userPassword: 'admin@admin.admin <mailto:admin@admin.admin>'
>>         },
>>         timeOut: 90000,
>>         lockTimeOut: 10000,
>>         checkContentType: true,
>>         settingsAccount: false,
>>         delegation: false,
>>         forceReadOnly: null,
>>         ignoreAlarms: false,
>>         backgroundCalendars: []
>>     },
>>     {
>>         href: 'http://127.0.0.1:5232/workspace/1.ics/ <http://127.0.0.1:5232/workspace/1.ics/>',
>>         userAuth:
>>         {
>>             userName: 'admin@admin.admin <mailto:admin@admin.admin>',
>>             userPassword: 'admin@admin.admin <mailto:admin@admin.admin>'
>>         },
>>         timeOut: 90000,
>>         lockTimeOut: 10000,
>>         checkContentType: true,
>>         settingsAccount: false,
>>         delegation: false,
>>         forceReadOnly: null,
>>         ignoreAlarms: false,
>>         backgroundCalendars: []
>>     },
>>     {
>>         href: 'http://127.0.0.1:5232/workspace/2.ics/ <http://127.0.0.1:5232/workspace/2.ics/>',
>>         userAuth:
>>         {
>>             userName: 'admin@admin.admin <mailto:admin@admin.admin>',
>>             userPassword: 'admin@admin.admin <mailto:admin@admin.admin>'
>>         },
>>         timeOut: 90000,
>>         lockTimeOut: 10000,
>>         checkContentType: true,
>>         settingsAccount: false,
>>         delegation: false,
>>         forceReadOnly: null,
>>         ignoreAlarms: false,
>>         backgroundCalendars: []
>>     },
> I have only two calendar displayed (/user/1.ics/ and /workspace/2.ics/). 
> Log says 3 calendar are reads:
>> Info: [userAccount: 'http://admin@admin.admin@127.0.0.1:5232/user/1.ics/ <http://admin@admin.admin@127.0.0.1:5232/user/1.ics/>']: crossDomain set to: 'true'
>> main.js:823 Info: [userAccount: 'http://admin@admin.admin@127.0.0.1:5232/workspace/1.ics/ <http://admin@admin.admin@127.0.0.1:5232/workspace/1.ics/>']: crossDomain set to: 'true'
>> main.js:823 Info: [userAccount: 'http://admin@admin.admin@127.0.0.1:5232/workspace/2.ics/ <http://admin@admin.admin@127.0.0.1:5232/workspace/2.ics/>']: crossDomain set to: 'true'
> I can setup more calendars configs, bahaviour still like that.
> I you need more trace/information, i'm listening.
> 
> Regards,
> Bastien Sevajol.

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow-Ups:
Re: [Inf-IT DAVcl] Configuration issue: multiple accountsBastien Sevajol <bastien.sevajol@xxxxxxxx>
References:
[Inf-IT DAVcl] Configuration issue: multiple accountsBastien Sevajol <bastien.sevajol@xxxxxxxx>
Re: [Inf-IT DAVcl] Configuration issue: multiple accountsJán Máté <jan.mate@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Configuration issue: multiple accountsBastien Sevajol <bastien.sevajol@xxxxxxxx>