Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/feed-rss2.php on line 8
jQuery – unethost無限空間虛擬主機 技術分享部落格 https://blog.unethost.com unethost 專注於提供優質的虛擬主機服務及相關問題解答 Tue, 10 May 2016 13:05:13 +0000 zh-TW hourly 1 https://wordpress.org/?v=6.0.8 如何解決 JavaScript 或 jQuery 使用 cloudflare 引起的問題 https://blog.unethost.com/how_to_fix_javascript_or_jquery_issue_on_cloudflare/ Tue, 10 May 2016 13:05:13 +0000 http://blog.unethost.com/?p=3376 閱讀全文 如何解決 JavaScript 或 jQuery 使用 cloudflare 引起的問題]]> javascript_cloudflare_issue_wp

我們曾在免費 dns 代管介紹 (cloudflare的使用)
介紹大家可以使用cloudflare的免費dns功能。

如果使用cloudflare的cdn功能,
但因此導致網頁上JavaScript的語法出問題,
該如何解決呢?

這是近期cloudflare所公佈的解法

<如何設定>

1.登入cloudflare帳號 > 選擇網域 > speed

javascript_cloudflare_issue_01

2.往下翻到 Rocket Loader > 從off 切換到 Automatic

javascript_cloudflare_issue_02

 
不過這還是bata版的功能,如果能因此解決javascript執行的問題就OK了,
如果不能解決,還是得先切回一般模式,等cloudflare收集完更多資料後,
應該就可以徹底解決的。(經我們今天測試過手邊的網站,是還有一些問題)

 

(本篇教學由unethost.com客服撰寫)

延伸閱讀:如何備份Cpanel後台安裝的套裝程式?

安裝上述的軟體,我們提供虛擬主機試用,七天滿意保證,
功能完整使用不受限制,歡迎點我申請。

]]>