<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Done :-)<br>
<br>
<div class="moz-cite-prefix">Op 20-2-2016 om 23:57 schreef Smith,
John:<br>
</div>
<blockquote
cite="mid:ocl2f196ip0gq2wfn8gbdxn7.1456009106144@email.android.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
<div>3 sounds good to me too.</div>
<div><br>
</div>
<div>John</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div style="font-size:100%">Sent from Samsung tablet<br>
<br>
Please send all enquiries to our shared Blended Learning inbox
at <a class="moz-txt-link-abbreviated" href="mailto:hlsblt@gcu.ac.uk">hlsblt@gcu.ac.uk</a> and one of the Learning Technologists will
respond.</div>
</div>
<br>
<br>
<br>
-------- Original message --------<br>
From: Tom Reijnders <a class="moz-txt-link-rfc2396E" href="mailto:reijnders@tor.nl"><reijnders@tor.nl></a> <br>
Date: 20/02/2016 12:18 (GMT+00:00) <br>
To: For Xerte technical developers
<a class="moz-txt-link-rfc2396E" href="mailto:xerte-dev@lists.nottingham.ac.uk"><xerte-dev@lists.nottingham.ac.uk></a> <br>
Subject: [Xerte-dev] Browser caching and problems it causes with
each update <br>
<br>
<br>
<font size="2">
<div class="PlainText">Hi,<br>
<br>
I've had several instances where we had a sudden increase of
support <br>
calls after installing an update of XOT (i.e. from 3.0 to 3.1)<br>
<br>
Most of those were due to caching issues. i.e. new modelfiles
were used <br>
against a previous cached version of xenith.js<br>
<br>
There are several solutions to this:<br>
<br>
1. At a timestamp in the url that loads xenth.js , ie <br>
src="xenith.js?_=<?php echo $timestamp;?>" or similar<br>
<br>
The drawback of course is that xenith.js (and similar files)
are not <br>
cached anymore, increasing the time needed to load an LO<br>
<br>
2. Add a version to the filename of xenith.js, i.e. everytime
something <br>
changes in xenith.js, change the version.<br>
<br>
This is the approach used by a lot of javascript libraries,
cf. jQuery. <br>
But it it's painfull, and errorprone (or we have to have a
build process).<br>
<br>
3. An interesting variation could be the combination of 1. and
2.<br>
<br>
We have a version string maintained in the file version.txt in
the root <br>
folder of the installation. This file is automatically updated
when <br>
publishing zips for the community websites. We could add <br>
?version='<contents of version.txt>' to all the files we
want to reload <br>
after a new release, such as xenith.js<br>
<br>
Tests show that this works fine ans as expected. I would like
to <br>
implement 3.<br>
<br>
Any objections, remarks, other solutions?<br>
<br>
Tom<br>
<br>
<br>
-- <br>
--<br>
<br>
Tom Reijnders<br>
TOR Informatica<br>
Chopinlaan 27<br>
5242HM Rosmalen<br>
Tel: 073 5226191<br>
Fax: 073 5226196<br>
<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
<br>
<br>
<br>
This message and any attachment are intended solely for the
addressee<br>
and may contain confidential information. If you have received
this<br>
message in error, please send it back to me, and immediately
delete it. <br>
<br>
Please do not use, copy or disclose the information contained
in this<br>
message or in any attachment. Any views or opinions expressed
by the<br>
author of this email do not necessarily reflect the views of
the<br>
University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of
an<br>
attachment may still contain software viruses which could
damage your<br>
computer system, you are advised to perform your own checks.
Email<br>
communications with the University of Nottingham may be
monitored as<br>
permitted by UK legislation.<br>
<br>
</div>
</font><br>
<font color="Gray" size="2" face="Arial">Glasgow Caledonian
University is a registered Scottish charity, number SC021474<br>
</font>
<pre>
This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it.
Please do not use, copy or disclose the information contained in this
message or in any attachment. Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.
This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>