Viewing Beta 1.7 jQuery Broken

Beta 1.7 jQuery Broken



User: Roddy 11 years ago
All items using jQuery are broken when published locally due to link being adapted for a minority of users who publish to secure servers.

This is a huge inconvenience for those of us who publish locally to test sites in the iOS simulator and to trouble shoot code.

To test a site in the simulator we now have to open every page that has a jQuery plugin in an editor and change the link before testing it.

It's bad enough that we are forced to use V1.9.1 of jQuery without having this extra inconvenience. Can't we, at least, have a check box in the publishing settings to prevent jQuery being inserted in every page so that we can insert our version of choice on a page by page basis.

The items will work when using the preview button but this is useless for checking out the smart phone version of a site.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 11 years ago
I will see what can be changed here for you.

-------------------------------
Paul
EverWeb Developer
User: Roddy 11 years ago
It also occurred to me that, with SSL connections, the browser is forced to download jQuery for every page of the website and not from the cache. This means that jQuery has to be downloaded for every page of the site - whether it is required or not.

This may be acceptable - to some - on traditional websites but not so much for a mobile version.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 11 years ago
1. Have you tried using the Preview button and then copying and pasting the URL from your desktop browser into Safari on the iOS simulator?

2. Quote:
It also occurred to me that, with SSL connections, the browser is forced to download jQuery for every page of the website and not from the cache. This means that jQuery has to be downloaded for every page of the site - whether it is required or not.


Why do you believe this happens?

-------------------------------
Paul
EverWeb Developer
User: Roddy 11 years ago
1) No it takes too long to copy and paste links into the simulator. I just drag the page HTML file onto it.

2) This page explains it better than I could…

http://encosia.com/cripple-the-google-cdns-caching-with-a-single-character/

See under "SSL == Super Slow Loading?"

Also it raises the question about using any non secure links on a secure website….

"To ensure airtight security, pages served via SSL should contain no references to content served through unencrypted connections."

See under "HTTPS and mixed content"

In that case, shouldn't all external hyperlinks be secure as well?

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.
User: Paul-RAGESW 11 years ago
I read over that post and it recommends including jQuery as well as other external resources as we have in EverWeb. It is the proper way to do it.

Regarding "See under "SSL == Super Slow Loading?", this would only apply to people using https as their protocol. In addition, as mentioned in the article, this isn't the case for jQuery hosted with Google's CDN as we use.

Quote:
Also it raises the question about using any non secure links on a secure website….


Linking to an http webpage from a https webpage is not a problem. The author of the article is referring to referencing images, css and other media from an http page on an https page. That is the only time you have to worry about getting a warning.


Quote:
In that case, shouldn't all external hyperlinks be secure as well?

External hyperlinks do not have to be https.

We are linking to jQuery properly. What we should offer is a way to preview your EverWeb site in the iOS simulator so that you don't have to do any of this. I am investigating how we can add this to EverWeb.

Let me know if I have misunderstood, or if the above would be an adequate solution for you.

-------------------------------
Paul
EverWeb Developer


Post Reply
You must login or signup to post.