-
5 Jan 2013 12:44 PM #1
Slow load of Sencha Touch docs from local file
Slow load of Sencha Touch docs from local file
I downloaded Sencha Touch commercial earlier this week but when trying to view the docs offline via:
file:///.. .../Downloads/st2/docs/index.html
I experienced a 24 second delay before the docs page rendered.
Looking at a network trace a request to google api was timing out after 22 seconds. All fixed now after removing the following from ...\Downloads\st2\docs\index.html:
<script type="text/javascript">
document.write("<link href='"+document.location.protocol+"//fonts.googleapis.com/css?family=Exo' rel='stylesheet' type='text/css' />");
</script>
-
7 Jan 2013 8:33 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
The docs load up within 5 seconds for me using 2.1.0 commercial.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
7 Jan 2013 1:54 PM #3
Is that off your local drive or http://docs.sencha.com ? My report relates to my local drive.
On my PC the Chrome dev tools network trace was unambiguous, /fonts.googleapis.com/css?family=Exo' rel='stylesheet' type='text/css hung in a pending state. Repeated multiple times.
Oh well not a big issue if you do not see the same your side.
-
7 Jan 2013 2:05 PM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
Was local. If it was remote then rendering the comments seem to take a while when looking through the APIs
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Looks like we cannot reproduce this. Please provide another test case to reproduce this issue.


Reply With Quote