Loading

Author Topic: Website Loading Time  (Read 265 times)

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Website Loading Time
« on: February 23, 2012, 01:35:58 am »
Hi everyone,

My website takes ages to load...same with OSClass admin panel . Is it the same with yours? Could it be due to a change in the scripts?  ???

Thanks in advance

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: Website Loading Time
« Reply #1 on: February 23, 2012, 11:06:16 am »
Hi keyboard,

how many ads your site has?

Which change did you make to it?


Thanks

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Re: Website Loading Time
« Reply #2 on: February 23, 2012, 01:39:34 pm »
Hi conejo,

What i changed was the lines about the "municipality too long" alert in /oc-includes/osclass/ItemActions.php.. :-\
regards

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: Website Loading Time
« Reply #3 on: February 23, 2012, 01:44:48 pm »
how many ads your site has?

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Re: Website Loading Time
« Reply #4 on: February 23, 2012, 03:00:44 pm »
2 banners + 1 adwords. they have been there since day1 and it has never been a problem... this issue started yesterday.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: Website Loading Time
« Reply #5 on: February 23, 2012, 03:02:21 pm »
No, ads of your own site...

dr_chill76

  • Jr. Member
  • **
  • Posts: 98
    • VisoTech creative  website designing
Re: Website Loading Time
« Reply #6 on: February 23, 2012, 04:50:42 pm »
same problem i am facing, some time its take minutes to load, i have around 3000 ads.

LonghornJ

  • Newbie
  • *
  • Posts: 27
    • Email
Re: Website Loading Time
« Reply #7 on: February 23, 2012, 05:11:44 pm »
I am experiencing that today when I tried to log in and when I requested for new password.  The ad pages seem to load fine even with the refresh.  I thought it might be my hosting company, which is what I was about to go check next.

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 1922
Re: Website Loading Time
« Reply #8 on: February 23, 2012, 05:14:18 pm »
That could be several reasons:

1.- Lots of ads (About or more than 100.000 ads on the site, which doesn't seems to be the case)


2.- Some plugin is eating the memory or doing a slow sql query
Code: [Select]
/**
 * Copy this code to config.php file
 *
 * This will show SQL queries at the bottom of the site
 */
define('OSC_DEBUG_DB', true) ;
to know if some SQL queries are slower from what they're supposed to be


3.-Is the cron getting executed correctly? Go to admin > Settings > Cron System and disable it (temporally, to check load speed)

4.- Use Firefox + firebug or chrom + developer console to know is external resources are slow
Maybe some external script/file is making your site slow.



Thanks

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Re: Website Loading Time
« Reply #9 on: February 23, 2012, 07:59:29 pm »
Thanks for all your replies. Sorry Conejo. thought u were talking about google ads lol  ::).  I have about 35 ads as it is a new website. I will follow your instructions and see what happens.

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Re: Website Loading Time
« Reply #10 on: February 23, 2012, 08:21:37 pm »
I have unchecked the auto-cron box and it is much much better. Should i leave it unchecked? Thanks

rafl

  • Sr. Member
  • ****
  • Posts: 415
    • Anunturi
Re: Website Loading Time
« Reply #11 on: February 25, 2012, 11:25:16 pm »
@keyboard
You can leave the autocron unchecked if you are running (or plan to run) the crons by your server' cronjob (which is advisable).

Moreover, in order to speed up your pages, you may want to add this in your .htaccess first line:

Code: [Select]
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript
success

keyboard

  • Jr. Member
  • **
  • Posts: 64
    • Brill Deal
Re: Website Loading Time
« Reply #12 on: February 26, 2012, 02:37:29 am »
Thanks a lot for your help