WordLog

A weblog authored by Carthik about the latest in the WordPress world.

Thursday, February 10, 2005

WP file loading order

Filed under: — Carthik @ 10:53 am

From gnomedia codeworks comes this neat nested list showing the order in which WordPress “loads” files, or, in other words the order in which WP uses the files to generate your blog, upon request.

Also seen at the same site is this set of instrcution as to how to make WP slimmer. But hold on a minute, if you really don’t need feeds, comments and all that you think is “excessive”, don’t link to the feeds (but still leave it in there for someone to use if they want to, and know where to find it), and turn off the commenting options etc through the admin interface. How much server space will you save by deleting 10 files? What utility or ease of use will you really gain by deleting the files?

5 Comments

  1. Utility and ease of use? Simple. I have fewer files cluttering up my root directory, hence it is easier to find stuff. Nobody has ever complained that my personal blog offers only one syndication feed rather than the default four.

    (Also, if I switched comments off through admin but left the comments files up, I could still get spammed; which rather negates the point of switching off comments in the first place.)

    Comment by the absent student — 2/10/2005 @ 9:25 pm

  2. I don’t see how your entries could get spammed if you turned comments off by default for all entries. I can see how it can be nice to have fewer files to clutter your directory, though, and it might make sense to delete files you don’t use, but really, a few more files does not make for a much better experience, does it?

    Comment by Carthik — 2/11/2005 @ 1:17 am

  3. Web Security 101: if you’re not actively using it, remove or disable it; then you’re not vulnerable to the inevitable security holes.

    Comment by Harald — 2/11/2005 @ 12:39 pm

  4. True, the spam won’t appear, but it’d still be there clogging up the database since most spambots hit wp-comments-post direct.

    If you don’t have comments switched on, I fail to see any point in leaving the PHP files up for spammers. If you change your mind, how long would it take you to re-upload them? Not as long as it’d take to clear out the spam ;)

    Comment by the absent student — 2/11/2005 @ 4:53 pm

  5. Now that’s what I’m talking about!

    Comment by Ryan Brooks — 2/18/2005 @ 9:03 pm

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

 

Powered by WordPress

eXTReMe Tracker