| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Senior Member Posts: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 09:49 AM
Control + F5 forces refresh of the status. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#3)
|
(#4)
|
| Senior Member Posts: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 11: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). Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#5)
|
(#6)
|
| Operations Manager Posts: 5,664 Join Date: Jan 2006 Location: United Kingdom |
26-05-2008, 02: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: 5,664 Join Date: Jan 2006 Location: United Kingdom |
26-05-2008, 03: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: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 04: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. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#10)
|
| Operations Manager Posts: 5,664 Join Date: Jan 2006 Location: United Kingdom |
26-05-2008, 04: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: 5,922 Join Date: Jun 2005 Location: Cumbria, UK |
26-05-2008, 05: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. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#13)
|
(#14)
|
| Operations Manager Posts: 5,664 Join Date: Jan 2006 Location: United Kingdom |
26-05-2008, 06: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 09:14 AM |
| LiveSupport WCA Online, LS Icon Online but Chat request = offline! | gremlin | LiveResponse Desktop Application | 3 | 21-03-2007 10:31 AM |
| Kayako SupportSuite v3.04.10 Stable Build | Varun Shoor | News and Announcements | 2 | 06-10-2006 10:41 PM |