11
wizanda
Re: Tips for speeding up homepage loading?
  • 2007/1/12 18:11

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Sorry bit daft of me, should have made it more clear, on the forum here in the XOOPS Development section I added and will continue to as I learn new things to increase speed or performance of Xoops....most has been done on my site....so you can see

12
Anonymous
Re: Tips for speeding up homepage loading?
  • 2007/1/12 18:27

  • Anonymous

  • Posts: 0

  • Since:


Thanks - interesting thread

13
irmtfan
Re: Tips for speeding up homepage loading?
  • 2007/1/12 19:30

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


another way to reduce cpu usage is installing "FastestCacheHack" by Gijoe.
it save me about 20% of cpu.
download from gijoe website:
http://xoops.peak.ne.jp/

i dont recommend this for beginners but if you have a high traffic website (more than 5 million hits per month) it can save some queries and resources.

14
Anonymous
Re: Tips for speeding up homepage loading?
  • 2007/1/14 8:55

  • Anonymous

  • Posts: 0

  • Since:


5 million hits per month? I wish

I read in a post by JMorris about this kind of thing where he says

Quote:
Wherever possible, place javascript code at the end of your theme.html file


Just checked my theme.html file and the only javascript reference I can file is on lines 20-23 as follow:

<script type="text/javascript">
<!--
<{
$xoops_js}>
//-->


Can I/should I put this at the end of the file and if so where? Before the closing /body and /html bits?

Is there something wrong with the above code - looks like the xoops_js bit is commented out.

Cheers

15
wizanda
Re: Tips for speeding up homepage loading?
  • 2007/1/14 10:17

  • wizanda

  • Home away from home

  • Posts: 1585

  • Since: 2004/3/21


Nope leave Xoops.js where it is! it is ok and working....

What you can do is place any extra code that uses a function over the theme in it also....so all java script functions are in one file....that speeds things up....

Also the Js/html caching system I have come up with helps alot also.

Login

Who's Online

163 user(s) are online (98 user(s) are browsing Support Forums)


Members: 0


Guests: 163


more...

Donat-O-Meter

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

Latest GitHub Commits