Hi martin23,
Setting a pragma for caching in the page isn't always guaranteed to work. A
better approach would be to include Expires headers for all GWT application
resources served from your web server, and configure them appropriately -
never cache the .nocache.js file, always cache the .cache.html files (until
the sun explodes).

For more information on configuring the Expires header:
http://www.web-caching.com/mnot_tutorial/how.html

<http://www.web-caching.com/mnot_tutorial/how.html>Hope that helps,
-Sumit Chandel

On Fri, Jun 19, 2009 at 1:50 AM, martin23 <[email protected]> wrote:

>
> I am experiencing a problem, that after I deploy updates to my app,
> that it does not execute in the browser until I force a clear in the
> browser's cache.
>
> I am using GWT 1.5.3
>
> thanks
> Martin
>
> This is the HTML: should I be using additional pragma directives?
>
> The DIV "statusPanel" is used initially to show the loading status of
> the application
>
> <html>
>  <head>
>    <meta http-equiv="content-type" content="text/html;
> charset=UTF-8">
>        <link rel="stylesheet" HREF="styles/parrot.css" TYPE="text/css">
>       <title>Parrot</title>
>       <script type="text/javascript" language="javascript"
> src="com.parrot.nocache.js"></script>
>  </head>
>  <body>
>        <div id="statusPanel" style="position:absolute; left:1px;
> top:1px"></
> div>
>        <div id="contentPanel" style="position:absolute; left:1px;
> top:1px"></
> div>
>
>        <!-- OPTIONAL: include this if you want history support -->
>        <iframe src="javascript:''" id="__gwt_historyFrame"
> tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></
> iframe>
>
>  </body>
> </html>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to