Page 1 of 1

tiggzico.js default settings

Posted: Thu Dec 20, 2012 8:40 pm
by Eric5020946

few concerns here on how you handle rest services in tiggzico.js

1) cache: true - that's asking for problems and reason why I was having issues with cached REST services, default should be set to FALSE so you let user decide on server side how to handle cache

2) timeout: 20000 - that's an overkill :) 20 seconds is REALLY bad idea...

proto.requestDefaults = {
dataType: "json",
type: "get",
cache: true,
crossDomain: true,
timeout: 20000,
traditional: true
};


tiggzico.js default settings

Posted: Thu Dec 20, 2012 11:17 pm
by maxkatz

This file is only in Windows 8 project, not in jQuery Mobile project. I'll find out why these defaults and whether they can be changed.


tiggzico.js default settings

Posted: Thu Dec 20, 2012 11:22 pm
by Eric5020946

hmm, I exported app as html project, followe some rest functions and found it


tiggzico.js default settings

Posted: Thu Dec 20, 2012 11:26 pm
by maxkatz

So, you found it in a jQuery Mobile project?


tiggzico.js default settings

Posted: Thu Dec 20, 2012 11:26 pm
by Eric5020946

yes


tiggzico.js default settings

Posted: Fri Dec 21, 2012 5:18 pm
by maxkatz

Thanks, the file shouldn't be there.. we'll remove it.