Preview Links Not Working

Our preview links are consistently having issues with the Local product. They often have issues with loading resources or simply don’t work at all. Is there a way to get a consistently solid preview link?

Hey @micahy

A better Live Link workflow is something that we want to work on. There are a few reasons why Live Links might be having problems.

1. SSL

Because the certificate for the Local site can’t be be shared and used to verify the connection to the site through Ngrok, any assets that are served over HTTPS are going to have problems. The main suggestion for this would be to disable HTTPS while sharing and using Live Links so that the assets aren’t being blocked due to issues with the certificate

2. Too Many Connections error

Right now the tunnel provider (ngrok) has a limit of the number of connections or resources loaded in a given time. So, if you have a page with a lot of links to images, stylesheets, or scripts, you can go through the limit quickly. One option for this is to make use of a plugin to minify and/or lazy load assets so that the total number of assets is reduced for the various pages. Autoptimize should help with this or a more advanced caching plugin like WP Rocket would also help.