Home › Forums › Weaver Xtreme Theme › Multiple Loops Using Show Posts Filters & Resource Usage / Performance Impact
- This topic has 4 replies, 3 voices, and was last updated 11 years, 2 months ago by
oak.
-
AuthorPosts
-
June 23, 2015 at 06:16 UTC - Views: 1 #17956
Pakban
ParticipantHi guys,
One of our site is a news site, and it requirement was to have a layout like this: http://themes.momizat.com/goodnews/
We made that layout creating Show Posts filters like (for latest news):
[show_posts filter=”latest_news_1_post_excerpt”]
[show_posts filter=”latest_news_3_posts_titles_left_col”]
[show_posts filter=”latest_news_3_posts_titles_right_col”]There are 7 categories to show on home page, and 7×3 = 21 loops?
Google Analytics says we have about 1500 daily sessions and 3000 page views.
Can that be the cause of high resource usage on our shared hosting? We are using double the resource limit on our shared hosting and we’ve tried many things to control it. But no luck.
How big a part our use of Show Posts Filter may be playing in this?
Cheers.
ArslanJune 23, 2015 at 19:30 UTC - Views: 3 #22985Weaver
KeymasterNote that 21 loops would correspond to 21 mySQL queries, but then each post displayed would also generate at least one query, and likely many more (1 for each image in the media library, for example). So that 21 extra queries is not likely to add that much overhead.
But if you are really getting 3000 page views a day, then it is not surprising you might be putting a load on a shared server. I’ve always said that 1000 to 2000 page views per day was pushing the limits of a shared server. At the very least, you should try a cache (e.g., the one with WordFence, or Zen Cache, among others), and CloudFlare. The combination would greatly reduce the load on a shared server.
If you still have issues, you might need a VPS. A minimal VPS is about $30/month: BlueHost.com
June 24, 2015 at 03:10 UTC - Views: 3 #22986Pakban
ParticipantHi weaver,
Cool. We are using WP Super Cache, but I’ll check WordFence and Zen Cache as well.
Appreciate it.Thank you!
Cheers,
Arslan FarooqJune 24, 2015 at 18:58 UTC - Views: 4 #22987Weaver
KeymasterSuper Cache should be fine, but I’ve come to prefer the WordFence cache since I think it is really a requirement to run with some kind of security plugin, and WordFence is pretty good, and “throws in” a very nice cache tool as a side benefit.
July 4, 2015 at 07:19 UTC - Views: 1 #22988oak
ParticipantGot it. Thank you!
Cheers,Arslan Farooq -
AuthorPosts
- You must be logged in to reply to this topic.

