Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

tiggzico.js default settings

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
};

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

tiggzico.js default settings

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.

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

tiggzico.js default settings

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

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

tiggzico.js default settings

So, you found it in a jQuery Mobile project?

Eric5020946
Posts: 0
Joined: Tue Sep 18, 2012 4:31 pm

tiggzico.js default settings

yes

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

tiggzico.js default settings

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

Return to “Issues”