| |||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Senior Member Posts: 6,755 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 08:49 AM
Control + F5 forces refresh of the status.
My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako |
| | |
(#3)
|
(#4)
|
| Senior Member Posts: 6,755 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 10:40 AM
I have mentioned in the past it is rather annoying that this wasn't classed as a bug but please let me know how you solve it (as you said above you think you can).
My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako |
| | |
(#5)
|
(#6)
|
| Operations Manager Posts: 6,270 Join Date: Jan 2006 Location: England, UK |
26-05-2008, 01:35 PM
Hi jnet, Under Settings->Live Support in the administrator control panel, disable the setting Cache HTML JavaScript Code - this should solve the issue you describe. Caching of the JavaScript is a server load optimisation. However, if your visitor number is not high, you should not notice any difference by disabling this feature. If left enabled, the JavaScript will be cached for 1 hour, according to SupportSuite's headerCache() function: PHP Code: -------------------------------------------------------------------
|
| | |
(#7)
|
(#8)
|
| Operations Manager Posts: 6,270 Join Date: Jan 2006 Location: England, UK |
26-05-2008, 02:31 PM
Hi jnet, If you want caching, then you will have to accept to problems that caching will present - i.e. for a short time, data may be inconsistent. -------------------------------------------------------------------
|
| | |
(#9)
|
| Senior Member Posts: 6,755 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 03:06 PM
I can think of a few ways how this could be easily sorted. Just cache the live chat status for 5 minutes in the database and then all the chat image is doing is checking to see if the value is current (less than 5 minutes since generation) and showing the status.
My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako |
| | |
(#10)
|
| Operations Manager Posts: 6,270 Join Date: Jan 2006 Location: England, UK |
26-05-2008, 03:18 PM
How does this solve the JavaScript caching issue? With your suggested method, a database query would need to be executed on every page load, and 20KB of JavaScript downloaded again on each page load.
-------------------------------------------------------------------
|
| | |
(#11)
|
(#12)
|
| Senior Member Posts: 6,755 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 04:57 PM
Easiest way would be to simply have a php file that you would add to the src of an image. This would do the database checking.
My Addons: BlackBerry Ticket Client for Kayako - Windows Mobile Live Support Client for Kayako |
| | |
(#13)
|
(#14)
|
| Operations Manager Posts: 6,270 Join Date: Jan 2006 Location: England, UK |
26-05-2008, 05:13 PM
Craig, That is not a solution to the problem, and negates exactly what caching hopes to solve. If you are OK with having the database queried on each page load, then the option is there to disable. If you are not supporting a large number of concurrent users, you shouldn't notice a performance impact. -------------------------------------------------------------------
|
| | |
(#15)
|
![]() |
| Tags |
| cache, chat, icon, status |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
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 |