0
Welcome Guest! Login
0 items Join Now

Combining all css files and js files to reduce page load times

  • Combining all css files and js files to reduce page load times

    Posted 17 years 1 month ago
    • Hi all,

      Anyone have an easy answer to this one.

      Can one combine all the sites css files into one to reduce page load time.
      Also, is the same thing possible with a sites js files.

      The more extensions you add often have their own css and js files, each will reduce increase page load time.

      RT templates often reference several.

      Instructions on how to do it from the Gurus out there would be great.

      Regards,
      Paul
  • Re: Combining all css files and js files to reduce page load times

    Posted 17 years 1 month ago
    • Well combining the CSS files is pretty easy, and I have done that myself. Although I think I only gained about .4 seconds. Plus since I customize everything so much it made it much hard to find anything... Well than I decided to rearrange all of the elements into 1 css file and it was easier to find stuff but it made it load even slower than having all seperate css files. So I decided to redo all of the css files and I gained a total of .9 seconds on each page load... I was AMAZED! Then the next months template came out... Now I don't do that any more :)

      As for the JS, combining them could be done as long as you don't run into messing up an encrypted one. Another issue would be some pages will use 1 perticular JS and not another, so you would have to make sure that the same JS is loaded on all pages correctly.

      It could be done, but mostly impratical for the very little time you would save in the page loading. Most servers now-a-days can handle much more than RT can throw at it.
    • Jessica Kennedy

Time to create page: 0.059 seconds