1
alandail
How do I optimize my site?
  • 2006/5/4 18:20

  • alandail

  • Just popping in

  • Posts: 94

  • Since: 2006/4/18


Would turning on caches help? I have all of the caches in the administrator page set to No cache - what does that control and what are reasonable values for the various modules? Are there any it would make sense to never cache? And where is the cache and what does it do? Is it caching build blocks, or is it caching on user systems?

I'm getting quite a bit of traffic (but no users are registering). Even on a machine on my local network things take time to load.
visit my sites
http://www.cavsworld.com
http://www.cafeshopper.com
http://celebrity.cafeshopper.com
http://www.1sies.com

2
rabideau
Re: How do I optimize my site?
  • 2006/5/4 18:43

  • rabideau

  • Home away from home

  • Posts: 1042

  • Since: 2003/4/25


Hi you can try my sites out... I never use cache for modules (I dislike old data, myself). See if the timing on my sites is about the same as yours.

I know its not much of a benchmark, but it's something.

http://www.eirenicon.org/modules/icontent/index.php?page=50

I hope this helps, a little.
Pax vobiscum,
...mark

may the road rise to meet your feet!

http://treemagic.org

3
alandail
Re: How do I optimize my site?
  • 2006/5/4 20:19

  • alandail

  • Just popping in

  • Posts: 94

  • Since: 2006/4/18


the main issue I have seems to be the time it's taking to run all of the php scripts to generate the html. It's taking at least 5 seconds to generate. What is the best way to optimize that?

I'm running the site on a mac mini and I thus far I rarely have more than 10 or so users online. I really would like to figure out a way to make the html generate faster.
visit my sites
http://www.cavsworld.com
http://www.cafeshopper.com
http://celebrity.cafeshopper.com
http://www.1sies.com

4
jensclas
Re: How do I optimize my site?

I was having long loading times using this site with IE - I switched to firefox and the priblem is gone - it's really fast - so that may help - install firefox and see the load time differences for yourself...i was impressed

5
iHackCode
Re: How do I optimize my site?

for me. sometimes the ads slowed my site down. like my tiger direct ad slowed down my site a bit so i put a 30 minute cache on it.
CBB / LatestNews / Publisher / XM-Spotlight

(ノ◕ヮ◕)ノ*:・゚✧

6
brash
Re: How do I optimize my site?
  • 2006/5/4 22:06

  • brash

  • Friend of XOOPS

  • Posts: 2206

  • Since: 2003/4/10


Caching will certainly help performance in CPU limit environments (such as shared hosting), especially block caching. The trick is to know what you should cache and for how long. As already mentioned ads served from external servers will also slow your page delivery time down. Depending on your current PHP environment, and you access to the server there are several other things you can do server side to massively boost performance and page delivery times. If you are using IIS then I have written several articles that will be of interest for you;

Performance Tuning XOOPS on IIS

Enabling IIS 6 native HTTP compression for PHP

If your using Apache then there are also things that can be done to boost your performance, but I am not the man to talk to for that. It might also be worth taking a look at installing these plugins I created that will show you the amount of MySQL queries and page generation time for each page. You can see it at the base of the page on my site (although the online user counter s seperate).

Page timer & MySQL counter for XOOPS 2.0.x

Page timer & MySQL counter for XOOPS 2.2.x
IT Headquarters
Innovative IT Solutions

7
wizanda
Re: How do I optimize my site?
  • 2006/5/4 22:25

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Easy version of is:
1) don't cache anything that changes alot!
2) cache any blocks you can, that don't change, in block menu also as well as in prefrences, if the module is static content.
3) fix all W3C errors, as if there are tons of errors this slows page loading time.
4)if you are on XOOPS 2.0.13.2 get the locical table checker (not sure if it works with newer versions)
use this to fix error in the database that may apper over time and in modules.
surprising some times what you find shows, like odd users not in groups, can slow your core down.
5) Clear uneed auto notifications in private msg you can have thousands if they don't select email after awhile.
6) Get optimise database module and use regularly.

I do all these and when I was on dial up I had no problems.

Other then the host moaning as my site got so many modules to be on shared hosting.

So I seperated my site into 2 yet I really do need my own server

8
alandail
Re: How do I optimize my site?
  • 2006/5/5 3:43

  • alandail

  • Just popping in

  • Posts: 94

  • Since: 2006/4/18


Thanks for all of the feedback. I did some of the things suggested and was still getting slow responses - I then took a look at the mac mini I am running my site from and found that classic was running on it - that was killing my resources and causing me to get 7 to 10 second page loads. I'm now at about a second. It makes my site much friendlier to get that performance back.

I then put my XOOPS environment (with all of the PHP processing) onto my intel iMac and things get even faster still.
visit my sites
http://www.cavsworld.com
http://www.cafeshopper.com
http://celebrity.cafeshopper.com
http://www.1sies.com

Login

Who's Online

180 user(s) are online (112 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits