Collin Mann
Posts: 0
Joined: Sun Dec 29, 2013 12:50 am

Server Call Interval Time Limit and Access to Web Source Files

Did Appery on the update last night remove our ability to change web source CSS and JS files? Or am I getting this in error:
"This file's format can't be reviewed by default viewer. The system doesn't support this format"

I know that I constantly have to go to the JS and CSS files to update them because Appery bugs out and does not sync the views that I edited with the actual code, although it says everything is up to date, it is not. If this was removed in the update, how do I fix the bugs in my app now?

Also, a very pertinent thing in my server code which has been slowing my progress is that the server limits the intervals at which it can be called. I was told by an employee that this would be fixed in the update, but it was not because I am still receiving the error. How can I get around this? This is extremely problematic for me because my app relies entirely upon server based scripts.

Thank you very much,
-Collin

Image Image Image

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Server Call Interval Time Limit and Access to Web Source Files

Hello Collin!

Should be possible, please try clearing cache, also show us a screen shot of this error.
Thanks for screen shots of Network tab, we'll check and update asap.

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

Server Call Interval Time Limit and Access to Web Source Files

Regarding Server Code burst rate. It wasn't planned to be part of the update but I'm going to have more information (on changes, etc) very soon.

Collin Mann
Posts: 0
Joined: Sun Dec 29, 2013 12:50 am

Server Call Interval Time Limit and Access to Web Source Files

So I fixed this finally with the recursive function that some guy suggested in the other thread for this, but the main problem still remains that I should not be calling the server twice for every single call. It makes absolutely no sense and goes against best practices. What is Appery doing to change this Max? Thanks a lot for your help and replies.

Here's my function if it helps anyone else.
function refreshFeed(serverURL, token, group_id, status, timestamp){
if(timestamp){
$.get( serverURL+'&token='+token+'&group_id='+group_id+'&user_status='+status+
'&timestamp='+timestamp,
function(data, textStatus, jqXHR) {
if(data != 'false'){
$('div.feedAppender').prepend(data);
var currentPost = $('#upToDatePost').text();
if (currentPost !== undefined){
localStorage.setItem("currentPost", currentPost);
}
}else{
$('div.flashRefreshMessage').toggle().fadeToggle(2000);
}
})
.fail(function(data, textStatus, jqXHR) {
var JSONstring = JSON.stringify(data);
var string = "'"+JSONstring+"'";
if(string.indexOf("SCSX009") = 0){
refreshFeed(token, group_id, status, timestamp);
}
});
}else{
$('div.feedAppender').html('No posts to load.');
}
}

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

Server Call Interval Time Limit and Access to Web Source Files

We will be increasing the burst rate, that's for sure. Most likely you will get a higher burst rate with higher plans. I promise to post details as soon as I have them.

Return to “Issues”