I am not a developer but i tried to use drupal for my website, it is a pleasure in many ways, but i think that it takes long time for my home page to upload.
What can i do about it?
Is there any way to compress Java scripts?

I will be greatful if someone who knows about this things will check my site and give me some advise.
www.iamblessed.org

Thanks

Comments

vm’s picture

two things to look into, which if any of the modules is causing the delay. You can disable each one to find the culprit.

 <script type="text/javascript" src="/misc/jquery.js"></script>
<script type="text/javascript" src="/misc/drupal.js"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/compat-1.0.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jstools.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/tabs/jquery.tabs.pack.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/jquery.history_remote.min.js"></script>
<script type="text/javascript" src="/sites/all/modules/jstools/tabs/tabs.js"></script>
<script type="text/javascript" src="/sites/all/modules/thickbox/thickbox_login.js"></script>
<script type="text/javascript" src="/sites/all/modules/thickbox/thickbox.js"></script>
<script type="text/javascript" src="/sites/all/modules/jquery_update/collapse-fix.js"></script>
<script type="text/javascript">Drupal.extend({ settings: { "jstools": { "cleanurls": true, "basePath": "/" }, "tabs": { "slide": true, "fade": true, "speed": "slow", "auto_height": false }, "thickbox": { "close": "Close", "next": "Next \x3e", "prev": "\x3c Prev", "esc_key": "or Esc Key", "next_close": "Next / Close on last", "image_count": "Image !current of !total" } } });</script>

are you actually using every module that is listed there that is adding to your page load time ?

There is a javascript aggregator module in the downloads area though I've never used it
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

itaye’s picture

I will check the javascript aggregator module, i hope that it will help.

itaye’s picture

i do not know if i need all those scripts, and how do i disable some of them?

vm’s picture

they are disabled by disabling the respective modules that introduced the js.

also of note: not that it has anything to do with your issue but you have a bad HTML tag

see: <body > It's invalid markup

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

itaye’s picture

how can i fix this body tag?

vm’s picture

open page.tpl.php of your theme,
find it
remove the space
resave it
reupload it

_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )

itaye’s picture

thank you

i have been using a hebrew notepad witch makes all the text only RTL. i downloaded some different program.