Does anyone know why JS and CSS loading twice everywhere?

1,378 views
Skip to first unread message

shawncrawley

unread,
Feb 24, 2016, 4:11:06 PM2/24/16
to Tethys Platform
I opened up the Network tab of the Chrome Developers Tools, did a refresh of my page, and I noticed that almost all of the .js and .css files are being loaded twice. I double-checked my html tags and blocks and everything looked good. For one additional test I looked at the network delivery of the App Library landing page. The same thing happened. I included a screenshot, but I'm sure the issue can easily be replicated. Oh, and this not only happened on my localhost, but also on appdev.hydroshare.org. So it seems to be something that might be built into the Tethys framework somewhere. It would be nice to fix this, as all pages would load essentially twice as fast. Let me know if the solution is discovered. Thanks.


swainn

unread,
Feb 24, 2016, 7:09:20 PM2/24/16
to Tethys Platform
I'm unable to reproduce these results on appsdev.hydroshare.org in Chrome or Firefox on Windows. See attached screenshots. Can anyone else reproduce this?

 
chrome.PNG
Firefox.PNG

Shawn Crawley

unread,
Feb 24, 2016, 7:44:43 PM2/24/16
to swainn, Tethys Platform
That's interesting. Yeah, we'll have to see if anyone else gets it. Oh wait, I just found this: http://stackoverflow.com/questions/6337849/weird-problem-in-chrome-javascript-file-loading-twice. Someone said they discovered that the Cache Killer Chrome extension was the cause of it. And yes, I do have that extension. It seems there is no problem after all.
On Wed, Feb 24, 2016 at 5:09 PM swainn <nathan....@gmail.com> wrote:
I'm unable to reproduce these results on appsdev.hydroshare.org in Chrome or Firefox on Windows. See attached screenshots. Can anyone else reproduce this?

 

--
You received this message because you are subscribed to the Google Groups "Tethys Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tethysplatfor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tethysplatform/96e135e7-5a5c-4942-b39f-4db6e9316c3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages