apache - Does WordPress preload pages? -


while surfing site , reviewing server access logs, appears 'next' page in site served along page navigated (one click, 2 pages). in order, other times appears random, grabbing unlisted pages , serving those.

that is, click on 'about' page, , logs report serving 'about' , 'contact'.

there's nothing visibly wrong on front end, , validates. i'm using highslidejs gallery uses preloaders images, , looked potential bugs wp-supercache haven't found answer.

this doesn't seem normal behavior since it's polluting logs. leads follow appreciated.

that's web browser pre-fetching next page. wordpress letting browser know page next, using link rel='next' element. if want prevent this, add functions.php file in theme:

remove_action('wp_head', 'adjacent_posts_rel_link_wp_head', 10, 0); 

Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -