Title: Very slow loop :(
Last modified: August 18, 2016

---

# Very slow loop :(

 *  [kasperd](https://wordpress.org/support/users/kasperd/)
 * (@kasperd)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/)
 * My WordPress 1.5 installation is performing very slow at the moment. Since the
   May 1st CSS Reboot I’ve had a 400 % increase in visitors (from ~100 to ~500 /
   day), and now it takes approx. 16 seconds to load a page.
 * I’ve done a bit of troubleshooting, and narrowed the problem down to the WordPress
   loop because:
    – everything outside the loop performs as usual. – the problem
   is the same with all themes, not just my redesign.
 * Right now I try to control the situation with cached pages, but I would like 
   a more permanent solution. Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [pauljohns](https://wordpress.org/support/users/pauljohns/)
 * (@pauljohns)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198305)
 * I wish I knew something to tell you other than this:
 * a) I like your design, very sweet!
    b)It loaded as fast as everyone else’s when
   I went to it just now. c)Maybe you’re exceeding your alotted bandwidth from your
   host.
 * See ya!
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198315)
 * Looked fine to me as well.
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198349)
 * methinks thats kasperd’s remarks that “Right now I try to control the situation
   with cached pages” is why the page is loading so quickly. 🙂
 * As the stats on the on the page load, this says a lot:
 * -Dynamic Page Served (once) in 17.572 seconds
    -Static Page Served in 0.008 seconds
 * And it sure did look like the page loaded in 0.008 seconds..
 * What if any plugins are you running? Some of them hav a LOT of overhead and do
   things unnecessairly, so through the WP loop may not be the one to blame, it’s
   calling of some rogue plugin might be.
 * Regards
 *  Thread Starter [kasperd](https://wordpress.org/support/users/kasperd/)
 * (@kasperd)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198436)
 * Spot on Cypher! I deactivated all my plugins, and then activated them one by 
   one till I found the culprit. The site is running fine now – without caching (
   wich is nice since the cache messed up my feed).
 * Oh, by the way – can anyone reccomend a nice archive plug-in? One that doesn’t
   slow down Loop, the Universe and Everything? 🙂
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198438)
 * Can you tell us exactly which archive plugin you used?
 *  [Cypher](https://wordpress.org/support/users/cypher/)
 * (@cypher)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198440)
 * I’m glad you found the culprit! Plugins are great but you gotta be careful to
   know what they are doing before activating them. 🙂
 * There are a bunch of archives plug-ins, a search on this forum or through Google
   will get you the links.
 * Now if I only knew what language your website was in and understood what it all
   said. 🙂
 * Regards
 *  Thread Starter [kasperd](https://wordpress.org/support/users/kasperd/)
 * (@kasperd)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198453)
 * [@alphaoide](https://wordpress.org/support/users/alphaoide/): It was [KG Archives](http://katesgasis.com/2005/05/01/kg-archives-plugin/).
   However, I’m not sure **what** caused the problem, so it might have been a combination
   of things and not just KG Archives. Anyway, I’m writing a more detailed bug report
   for the author.
 * [@cypher](https://wordpress.org/support/users/cypher/): It’s in [danish](http://denmark.dk)
   🙂
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198479)
 * In that plugin file, I can see the culprit: the following two separate lines.
   `
   add_filter('the_content','kgsortarch'); add_filter('the_content','kgsortform');
 * The reasoning. This plugin does intensive database queries (normal for archive
   query), but then, the way the author set it up, the queries will be executed 
   no matter what page is loaded (index.php, archive.php, page.php, etc). When someone
   visits the frontpage of your site, the intensive queries are executed for nothing.
   The queries are executed everytime a Post is displayed (regular Post, or Page
   Post).
 * The author should know by now to execute the plugin in a Page only.
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198485)
 * What’s the “May 1st CSS Reboot”?
 *  Thread Starter [kasperd](https://wordpress.org/support/users/kasperd/)
 * (@kasperd)
 * [21 years ago](https://wordpress.org/support/topic/very-slow-loop/#post-198565)
 * [@alphaoide](https://wordpress.org/support/users/alphaoide/): Thanks, I’ll refer
   the author to this topic.
 * [@vkaryl](https://wordpress.org/support/users/vkaryl/): [CSS Reboot](http://www.cssreboot.com/)
 *  [katesgasis](https://wordpress.org/support/users/katesgasis/)
 * (@katesgasis)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/very-slow-loop/#post-198757)
 * [@kasperd](https://wordpress.org/support/users/kasperd/): I’m sorry that happened
   to you. Problem is fixed now. You can get the updated version at [http://katesgasis.com/2005/05/01/kg-archives-plugin/](http://katesgasis.com/2005/05/01/kg-archives-plugin/).

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Very slow loop :(’ is closed to new replies.

## Tags

 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [performance](https://wordpress.org/support/topic-tag/performance/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 7 participants
 * Last reply from: [katesgasis](https://wordpress.org/support/users/katesgasis/)
 * Last activity: [20 years, 11 months ago](https://wordpress.org/support/topic/very-slow-loop/#post-198757)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
