Hi Isomorphic,
I try to get caching 100% right.
In my plain login.html I use
This results in calls to:
In my GWT Page (JSP, see hand-coded versionstring below) I have
This results in a call to:
As you can see this results in four http hits, where it could have been two. Not really a problem, but a fix would be nice.
Could you
Best regards,
Blama
I try to get caching 100% right.
In my plain login.html I use
Code:
<script type="text/javascript" language="javascript">var isomorphicDir = "lms/sc/";</script> <script type="text/javascript" language="javascript" src="lms/sc/modules/ISC_FileLoader.js"></script> <script type="text/javascript" language="javascript">FL.modulesDir = "modules/"; FL.defaultSkin = "Simplicity"; FL.cacheISC();</script>
Code:
myproj/sc/skins/Simplicity/load_skin.js myproj/sc/skins/Simplicity/skin_styles.css?isc_version=v9.1p_2014-05-25.js
In my GWT Page (JSP, see hand-coded versionstring below) I have
Code:
<script type="text/javascript" src="myproj/sc/skins/Simplicity/load_skin.js<% out.print(version); %>"></script>
Code:
/myproj/sc/skins/Simplicity/skin_styles.css
As you can see this results in four http hits, where it could have been two. Not really a problem, but a fix would be nice.
Could you
- Have ISC_FileLoader call load_skin.js with the isc_version-parameter it already uses for the ISC-*.js-files and the skin_styles.css?
- Have load_skin.js call skin_styles.css the with the isc_version-parameter FileLoader already uses?
Best regards,
Blama
Comment