Rocket Loader can potentially impact JavaScript calls on your site, including things that potentially use jQuery. To access cPanel or FTP:Ĭertain scripts on my website (like ads or social plugins) are breaking or not workingĬloudflare has two beta features that speed up the loading of your web pages, but they can sometimes cause issues. ![]() As a result, you can still access cPanel or use FTP, but you will have to do so a little differently. If you can't access cPanel or useFTPĬloudflare acts as a reverse proxy. Please make sure that the CloudFlare IP addresses are allowlisted on your server and with your host. If you get HTML returned, but you still get a site offline or unavailable message from Cloudflare, then this means that connections from Cloudflare's IPs are being restricted or blocked at either the hosting provider or server level. You should contact your hosting provider and work with them to resolve the server issue. If you get an error message like "can't connect to host" or "500 internal server error", then this means that your server is not responding. When you press enter, you'll get an output message. It will look something like 192.73.146.94 > YourServerIP: You can get the IP for your server origin by checking your DNS Settings page on your Cloudflare account. Open the application called terminal on your Mac, and run the following curl command to see if your server is responding:Ĭurl -v -A firefox/4.0 -H 'Host: ' YourServerIP How to quickly test if your server is having issues If you can't get to your website and you see a cached copy of your website or a " Your Website is Unavailable" error page, the first thing to do is to check if your server is having issues. We wanted to share some tips on how to troubleshoot website issues and provide some good techniques to prevent site issues in the future. There are many moving pieces it can be an isolated network connection with the ISP, an issue with your server or one of Cloudflare's data centers could be temporarily having a problem. This will output all the clientside.mvc files as minified files with the correct subresource identity hash.Debugging technical issues online can be tricky. Here you’ll want to change the JavaScript drop down to Combined and Minified. This is normally done as part of a Cloudflare setup but worth checking.įinally, if the customer wants the benefit of having those files minified, we already have a setting for that under Domain Settings -> Site Configuration. You’ll also want to disable cache/performance for all admin files as well by targeting any file with admin.mvc or json.mvc. ![]() The minification is the main things we want to disable. The * is a wildcard so it will cover all front end JS files (Image Machine, Attribute Machine, Facets, etc) Per Cloudflare disabling “Performance” on file will do the following: ![]() The domain should be updated to the clients actual domain. To do this go into Page Rules and create the following rule: You can leave auto minify on of all JS files you just need to create a rule so none of the clientside.mvc JS files get minified (they can still get cached).These steps are for cloudflare but each CDN should have something similar: Here are the steps we need to take for any customer using a CDN to prevent their JS from breaking when they update to 9.10. This setting will break the subresource integrity check for all JS files preventing them from loading. For example, cloudflare has the option to do this under their “Speed” menu: Migrate Existing Store to New URI Managementĩ.10 introduces a security layer on all JS files called Subresource Integrity which adds a SHA hash to all JS files to ensure they have not been modified from their original versions.Ĭustomers who use a CDN will a lot of time also minify and strip whitespace from JS files.
0 Comments
Leave a Reply. |