Postscript: Quicklink is not a panacea for your slow website If you have any feedback, I’d love to hear in the comments below or the Quicklink module issue queue. Be sure that Drupal’s caching is enabled (it is by default), and bonus points for using a content delivery network. Quicklink will prefetch many more pages than your server is currently serving. That being said, test your site extensively before deploying this library to production. Note the “Initiator” column (seen below in Chrome Developer Tools) shows you that Quicklink initiated the HTTP request. When you scroll and additional links enter the viewport, you will see them being prefetched. Open up the network tab in your developer tool of choice, and you can see the HTML documents being retrieved while the browser is idle. Watching links get prefetchedĬhecking which linked pages get prefetched is pretty straightforward. Fortunately, we can use your browser’s built-in developer tools, plus the module’s debug mode to figure out exactly what’s going on. This can make figuring out why a link isn’t being prefetched pretty tricky. There’s a lot of logic involved when deciding whether or not to prefetch a link. Troubleshooting prefetches (and lack of prefetches) with debug mode
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |