-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLDR-16900 Shorten server response if unchanged; bug fix, refactor
-Refactor (encapsulate) to calculate unread/total counts in only one place; new callbackSetCounts -On front end, remember the last announcement ID fetched (alreadyGotId) -On back end, respond with 304 Not Modified if alreadyGotId matches -Do not report 304 Not Modified response as error; log it to console only if debugging enabled -New front-end method resetSchedule prevents delay and prevents 304 response -Format Test.html (not specific to this ticket; unrelated PR left it unformatted) -Comments
- Loading branch information
Showing
5 changed files
with
94 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters