I recently swapped over from lighty to nginx, and man, am I glad I did. I have no idea about the internals, which is faster, lighter, better, etc, but nginx is way more intuitive to configure. Which in the end means my server is set up better.
That kick started my latest obsession, speeding up web servers.
I might go into details in a later post, but first, a question. I’ve got my wordpress blog loading nice and quick, except for pages where you can leave a comment, the recaptcha pluggin slows down the display of the page to 1 second. Obviously this is unacceptable. 1 SECOND!!!!!
What I would like is a “leave a comment” link to be displayed at the end of the post or comments, and clicking it would load the comment box with the recaptcha.
Any ideas how I would go about it?
I’ve tried css tricks to hide divs, but the javascript and images still load and hold up the display of the page, even though they aren’t (immediately) displayed. Annoying.
Related posts:
2 Comments
Where is the Javascript in the DOM?
Try putting it at the bottom of the page, just before you close the body tag.
Thanks Lindsay.
On this blog it goes
containter – div
post…
recaptcha
#end containter
sidebar primary – div
sidebar secondary – div
and you can see a definite pause between the container loading and the sidebars. I’ll experiment, but I think I want the container in the DOM to come first.