Quoting Simon Brereton <simon.brere...@buongiorno.com>:

On Nov 23, 2011 6:03 PM, "Michael M Slusarz" <slus...@horde.org> wrote:

Quoting Simon Brereton <simon.brere...@buongiorno.com>:

On Nov 23, 2011 3:26 AM, <mat...@jekabsons.lv> wrote:

Quoting Jan Schneider <j...@horde.org>:

The Horde Team is pleased to announce the final release of the Internet

Mail

Program (IMP) version H4 (5.0.15).


after upgrade, some mobile
interfase users comlaining about
that after login, to get all working
you need to refresh page. till
that, its impossible to open mails.
Is it known issue or HTC
Sensation bug?


Please don't top-post.

I has this issue on first login too.  Will retest later.


Because you aren't using static javascript to serve those files.  If you
don't use static javascript, you are at the mercy of browser caching.

I don't understand :)

Modern browsers are *very* aggressive when it comes to caching javascript. So if we change imp/js/dimpbase.js between releases, which we will most certainly do, the browser won't pick up the changes until the cache lifetime is over (this is not entirely true - the ETag HTTP Header is designed to work around this, but a given HTTP server may not support Etags, or they may not be configured correctly).

Using static files ensures that when the version is updated, the javascript files are served from a new, unique hostname which we can 100% guarantee a browser will need to download.

And why would a mobile browser cache more than a desktop one - in my
experience, it's the opposite.

No - it is even more critical for a mobile browser to cache due to limited bandwidth. You will probably not notice a desktop browser that needs to download a copy of jquery on every pageload. You will definitely notice this on a mobile browser (not to mention a browser can potentially cache the compiled javascript also, so it does not have to parse it again).

michael

___________________________________
Michael Slusarz [slus...@horde.org]

--
IMP mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to