Jsdelivr and Jquery for Egypt users: Difference between revisions

From Computernewb Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[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)]]
[[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, 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.


Previously, cdn.jsdelivr.net seems to blocked in Egypt from 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), 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


<s>Solution 1: Use an VPN</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, using mobile/tablet devices or using any software that requires downloading from cdn.jsdelivr.net.


<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, using mobile/tablet devices or using any software that requires downloading from cdn.jsdelivr.net.</s>
Solution 2: Redirect from cdn.jsdelivr.net to any jsdelivr alternatives that works in Egypt using Requestly


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>

<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>


[[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.
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.

Revision as of 20:29, 17 November 2023

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, you don't need requestly or vpn.

Previously, cdn.jsdelivr.net seems to blocked in Egypt from 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), 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, using mobile/tablet devices or using any software that requires downloading from cdn.jsdelivr.net.

Solution 2: Redirect from cdn.jsdelivr.net to any jsdelivr alternatives that works in Egypt using Requestly

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.

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.