Results 1 to 7 of 7

Thread: Handling browser caches

  1. #1
    Join Date
    Nov 2005
    Posts
    55
    Rep Power
    10

    Default Handling browser caches

    Good browser caches are our friend, it make users happy and it makes servers happy.

    But sometime caches can be a nuisance. Right now this is the case for doing a Zimbra upgrade. Everything is in halfway states for most users, all kinds of strange behavior of mixed up 3.1 and 4.0 UI until their browsers cache is flushed. Not quite sure why but Zimbra seems a little more cache sticky than most webapps, I know theres even an extra parameter put in for version to try to work past this, but it doesn't seem to work most of the time.

    Still it seems simple enough to just flush the cache. I mean in development I even have my cache turned off. But what does one do with a really large user base? Its really not practical to walk a thousand people through flushing the browser cache.

    Is there anything that we can do programatically? Anyone have any advice on this?

  2. #2
    Join Date
    Jan 2006
    Posts
    88
    Rep Power
    9

    Default

    We experienced similar problems with our 35 user base at Raydiance. Can anyone confirm whether any cache expiry headers are being sent out with email.js? or any of the other files utilized by Zimbra?

    Now I fully understand that it is desirable to keep this file cached for as long as possible to improve startup times for each client, but on the server side there is no really easy way to signal to clients that they should now refresh their cache. Or is there?

    I've never quite understood how the Internet Explorer "Check for new versions of stored pages : Automatically" setting works, nor do I have a very good understanding of Mozilla Firefox's cache behaviour.

    Thanks to the original poster for bringing this up, as I was curious if others had similar problems.

  3. #3
    Join Date
    May 2006
    Location
    Pennsylvania
    Posts
    70
    Rep Power
    9

    Default

    We ran into this. Also, Firefox had issues until we upgraded to the current version. We told all our users to shift-refresh their browser which worked for most. A few users needed to close and reopen their brower to clean up the Zimbra screens.

  4. #4
    Join Date
    Jan 2006
    Posts
    88
    Rep Power
    9

    Default

    It would be cool if there was a way to see what user agents were coming into zimbra by-user so we could determine which browsers to focus most of our efforts on.

    I know that IE is big within my company, but I would like to know if older versions of firefox were being used in some cases as well, so we can go after that user's machine to upgrade it.

  5. #5
    Join Date
    Nov 2005
    Posts
    518
    Rep Power
    11

    Default

    you could do a "join" of the /opt/zimbra/log/zimbra.log with the /opt/zimbra/tomcat/logs/access_log.<date>; the zimbra.log has the ip address and user, the access log has the ip address and user agent

  6. #6
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    From 4.0.1 on this cache problem should be solved. We've added very strict no-cache/expires headers so upgrading from that release on should prevent you from needed to force a reload or clear the cache.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  7. #7
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Quote Originally Posted by jonnyRo
    It would be cool if there was a way to see what user agents were coming into zimbra by-user so we could determine which browsers to focus most of our efforts on.

    I know that IE is big within my company, but I would like to know if older versions of firefox were being used in some cases as well, so we can go after that user's machine to upgrade it.
    You can run a standard log processing software like awstats or webalizer across the tomcat access_log
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Similar Threads

  1. Highlight of web browser in task bar
    By A5gar0th in forum Users
    Replies: 1
    Last Post: 09-20-2006, 04:51 AM
  2. Problem using browser without buttns
    By lfasci in forum Developers
    Replies: 0
    Last Post: 07-13-2006, 08:44 AM
  3. Replies: 2
    Last Post: 07-06-2006, 12:24 PM
  4. Replies: 1
    Last Post: 02-24-2006, 04:43 PM
  5. emails don't show up in inbox in browser
    By pstelzer in forum Installation
    Replies: 10
    Last Post: 12-13-2005, 10:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •