WordPress.org

Ready to get started?Download WordPress

Ideas

WordPress Performance Improvement that does NOT require a plugin... Simple fix!

  1. iPad
    Member

    The inefficient default .htaccess code should ?????

    Posted: 4 years ago #
  2. jasonkong
    Member

    This saved my life, Man!
    I have struggling with the slow-load problem for days. The time to open the first page of my website used to be 20-80 seconds. Now it is 2 or 3 seconds.
    Thanks.

    Posted: 4 years ago #
  3. donottumbledry
    Member

    12345

    This is an excellent fix for the .htaccess file. I actually made a post regarding using rewrites for the friendly URL's to rewrite them into a predetermined format so that WordPress doesn't have to use any SQL queries to parse the incoming URL as it's already been parsed into GET variables by the rewrite rules.

    That aside, your post with the revised .htaccess has decreased page load times significantly. I always thought perhaps my server was slow - but no, it was the rather crappy default .htaccess shipped with WordPress.

    Posted: 3 years ago #
  4. Arash
    Member

    Any screenshots or links to real proof?

    I have tried this on several sites and no improvement at all.

    Posted: 3 years ago #
  5. Techie
    Member

    I tried this on my blog with WordPress 3 and everything still works but I don't see a speed improvement.

    Posted: 3 years ago #
  6. dipswitch
    Member

    12345

    Why use mod_rewrite at all if you have mod_dir? All you need is this directive:

    FallbackResource /index.php

    This is similar to the try_files directive in nginx. Thank me later ;)

    Posted: 3 years ago #
  7. Does anybody have any verification that this new code brings substantial (or any, come to think of it) improvement in load times?

    Posted: 3 years ago #
  8. Kaushik
    Member

    I am glad this is under consideration; in fact, the page load times should be seriously looked upon specially when there is a mention about Google's search algorithm.

    Posted: 3 years ago #
  9. g1smd
    Member

    The same inefficiencies mentioned above are also present in Joomla, but the patch to fix Joomla has recently been committed.

    One of the many conversations at WebmasterWorld with details of the WordPress problem and the solution: http://www.webmasterworld.com/apache/4053973.htm
    A more recent post: http://www.webmasterworld.com/apache/4182512.htm

    This topic comes up at least once per month for the last 4 or 5 years.

    Posted: 3 years ago #
  10. g1smd
    Member


RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    55 Votes
  • Status

    This idea has been implemented