Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Kayako develops robust helpdesk software, live chat and real-time visitor monitoring software.
Kayako is trusted by more than 30,000 organizations, including a number of Fortune 500 companies and government institutions.
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#16) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 7,354
Join Date: Jan 2006
Location: England, UK
29-05-2008, 12:52 PM

Hi Chris,

This is what happens on the server side.

The problem is telling the client's browser when the redownload the file. Currently by default, it is told to recheck for a new version after an hour of holding a copy in its cache. Without this client-side cache mechanism, the client would need to redownload all of the JavaScript on every page load. On a busy website, users concurrently downloading an additional hunk of JavaScript puts a considerable strain on the server.

Where a website isn't busy, feel free to disable the 1-hour cache instruction using the setting mentioned earlier.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#17) Old
Chris Boulton Offline
Member
 
Posts: 152
Join Date: Jun 2003
Location: Sydney, Australia
29-05-2008, 01:00 PM

Yes, but the JavaScript for the live chat icon (imo) shouldn't be cached. It should always be exactly what the status is set to.

Another simple solution could be two script tags - one which just sets a variable:
Code:
var operatorStatus = 'online';
And the other which handles all of the front-end logic for displaying the status and simply references this variable.

Then to poll the status every X seconds/minutes as we currently do, simply reload that actual script tag.

Another simple solution would be to keep the JavaScript cached as it is, but make it include an external script which polls the status.

At the moment I don't really have the time to whip up any examples of what I mean here, but you guys should be able to catch on.
   
Reply With Quote
  (#18) Old
jnet Offline
Member
 
Posts: 614
Join Date: Mar 2008
29-05-2008, 02:36 PM


So what is the answer?
   
Reply With Quote
Reply

Tags
cache, chat, icon, status

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LiveResponse disconnects continuously. rohmelec SupportSuite, eSupport and LiveResponse 21 26-09-2007 08:14 AM
LiveSupport WCA Online, LS Icon Online but Chat request = offline! gremlin LiveResponse Desktop Application 3 21-03-2007 09:31 AM



Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78