WordPress.org

Ready to get started?Download WordPress

Forums

Why does WordPress pre-load an un-requested page every time it delivers a page? (8 posts)

  1. mark65748
    Member
    Posted 6 months ago #

    My WordPress site pre-loads an un-requested page before it delivers the requested page. Is this right? Removing this functionality dramatically decreases page load times - by at least 30%.

    Look at any the header of any WordPress page and you see code like <link rel='next' title='xxx' href='http://www.xxx.com/xxx/' /> Look at the page using firefox's firebug network tools and you'll see this page is pre-loaded before the requested page is delivered.

    I would really appreciate it if someone could explain why this is. Am I missing something?!

  2. esmi
    Forum Moderator
    Posted 6 months ago #

    That doesn't sound right at all. Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the default theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. mark65748
    Member
    Posted 6 months ago #

    Odd but true. Just set up a default WordPress install here.

    WordPress starts pre-loading additional pages if you use anything other than the default permalink setting. The impact on page delivery time is is substantial.

    I'm confused. Why would this be so.

  4. esmi
    Forum Moderator
    Posted 6 months ago #

    I'm not seeing any un-requested page loading. Have you tried using another browser? Or another computer?

  5. mark65748
    Member
    Posted 6 months ago #

    Are you sure?
    Have a look at this screen grab

  6. Scott (@scottsweb)
    Member
    Posted 6 months ago #

    I would imagine this is caused by your browser prefetching URLs (more info: http://www.ghacks.net/2013/04/27/firefox-prefetching-what-you-need-to-know/)

  7. mark65748
    Member
    Posted 6 months ago #

    Thanks esmi and Scott. Still a little unclear. Why does it only prefetch URLs when search engine friendly permalinks are turned on? To help enhance search engine ranking in some way?

  8. Scott (@scottsweb)
    Member
    Posted 6 months ago #

    Your browser may be grabbing the info from your canoncial meta tags (http://googlewebmastercentral.blogspot.co.uk/2011/09/pagination-with-relnext-and-relprev.html). Its possible these are only being output when search engine friendly permalinks are being used.

    Look for code like this in the head of your page:

    <link rel='prev' title='title' href='http://url.com/post-title/' />

    You may have more luck if direct your question at either the browser or extension that is doing the prefetching.

Reply

You must log in to post.

About this Topic