Jsdelivr and Jquery for Egypt users: Difference between revisions

no edit summary
(Created page with "thumb|Example issue of sites relying on cdn.jsdelivr.net (blocked in egypt) Unfortunately, cdn.jsdelivr.net seems to blocked in Egypt since June 2023 (Attempting to load cdn.jsdelivr.net without an VPN or redirecting to any jsdelivr alternatives will result in "ERR_CONNECTION_RESET" error), so sites that relys on cdn.jsdelivr.net will takes an very long time to load and/or can cause issues to CSS or Ja...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
[[File:Sites relying on cdn.jsdelivr.net causes issues in Egypt.png|thumb|Example issue of sites relying on cdn.jsdelivr.net (blocked in egypt previously, but it was later unblocked currently)]]
'''UPDATE: cdn.jsdelivr.net is now unblocked in Egypt and fixes code.jquery.com issues in Egypt, you don't need requestly or vpn.'''
Unfortunately, cdn.jsdelivr.net seems to blocked in Egypt since June 2023 (Attempting to load cdn.jsdelivr.net without an VPN or redirecting to any jsdelivr alternatives will result in "ERR_CONNECTION_RESET" error), so sites that relys on cdn.jsdelivr.net will takes an very long time to load and/or can cause issues to CSS or Javascript.
 
UnfortunatelyPreviously, cdn.jsdelivr.net seems to blocked in Egypt sincefrom June 2023 up until September 2023 (Attempting to load cdn.jsdelivr.net without an VPN or redirecting to any jsdelivr alternatives will result in "ERR_CONNECTION_RESET" error during this June 2023-September 2023 period), so sites that relys on cdn.jsdelivr.net will takes an very long time to load and/or can cause issues to CSS or Javascript.
 
Solution 1: Use an VPN
 
While cdn.jsdelivr.net is blocked in Egypt, using an VPN that works in Egypt will unblock cdn.jsdelivr.net (including fixing code.jquery.com loading delay on sites relying on code.jquery.com). This option is useful if you are using Virtual Machines that doesn't support Requestly or if you are using mobile/tablet devices.
 
<s>Solution 1: Use an VPN</s>
Solution 2: Redirect from cdn.jsdelivr.net to any jsdelivr alternatives that works in Egypt using Requestly
 
<s>While cdn.jsdelivr.net is blocked in Egypt, using an VPN that works in Egypt will unblock cdn.jsdelivr.net (including fixing code.jquery.com loading delay on sites relying on code.jquery.com). This option is useful if you are using Virtual Machines that doesn't support Requestly or if you are, using mobile/tablet devices or using any software that requires downloading from cdn.jsdelivr.net.</s>
You can use Requestly to redirect from cdn.jsdelivr.net to cdn.jsdelivr.xyz or fastly.jsdelivr.net. This option is recommended for websites that blocks VPN, or even all PCs or Laptops or Virtual Machines with modern OSes.
 
<s>Solution 2: Redirect from cdn.jsdelivr.net to any jsdelivr alternatives that works in Egypt using Requestly</s>
[[File:Fix Jquery and Jsdelivr in Egypt using Requestly.png|thumb|To fix jquery + jsdelivr properly. you need to create two rules (jquery redirect to an alternative one + jsdelivr redirect to cdn.jsdelivr.xyz or fastly.jsdelivr.net)]]
 
There is also issue which does code.jquery.com taking even long time to load on sites that relys on code.jquery.com in Egypt ("Connecting..." delay for over 2 minutes), To fix, use VPN or redirect from code.jquery.com to any alternative jquery CDNs using Requestly.
<s>You can use Requestly to redirect from cdn.jsdelivr.net to cdn.jsdelivr.xyz or fastly.jsdelivr.net. This option is recommended for websites that blocks VPN, or even all PCs or Laptops or Virtual Machines with modern OSes.</s>
55

edits