In this context looks nice, but too complicated.
I prefere header based solution.


2013/1/17 Dietrich Streifert <[email protected]>

> Yes but this is how it should work:
>
> 1. Never cache index.html so the browser retreives the content
> containing the script tag app_<version>.js.
>
> 2. If a new version of the app is build a new file app_<version+1>.js is
> created and referenced in the index.html script tag. Both files are
> deployed to the server.
>
> 3. The User opens the URL and the browser detects the new script tag
> where the app file name changed from app_<version>.js to
> app_<version+1>.js and loads the new version from the server.
>
>
> Am 17.01.2013 11:15, schrieb Alexander Voronin:
> > Oh, sorry! This should NOT work. You'r setting this pragmas for HTML
> > page but not for javascript, which is loading by SEPARATE request! So
> > HTML will not be cached, but javascritp will!
> >
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>



-- 
когда я опустился на самое дно, снизу мне постучали..
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to