0
Welcome Guest! Login
0 items Join Now

too weight too weight too weight

  • Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • Good topic, I not much in to programing, but I believe any (heavy) template could be faster with better coding...
  • Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • The problem is that the templates have been made like if the weight is not a problem. But on the web, the weight is always the problem !!! Hundred connections, mutual server etc... 450Ko for a index page is against all rules of the job. The number of visited page with this type of site is very significative. Only Yahoo on Ebay can permit to have those weight with a big infrastructure...
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • Am happy with RT methodology... sticking in as much as possible and leaving it to us to remove what we don't want. Please continue with that.... of course with the usual slim template that you release every few months.

      However, the duplicate mootools files are absolutely ridiculous.

      The idiot who stuck in the mootools file in joomla deserves to be whipped. How can someone put in something that adds 70KB and zero functionality (by default) without putting in an option in the config panel to disable it?

      In any case, that's bad enough.... but even worse, instead of disabling it in the template index.php and adding your own properly packed mootools js, RT leaves it there and puts in another one on top of it for good measure.

      Tsk tsk tsk
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
  • Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • 450Ko-70Ko=> 380Ko

      I said no, no and no ! >:(
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • GollumX wrote:
      In any case, that's bad enough.... but even worse, instead of disabling it in the template index.php and adding your own properly packed mootools js, RT leaves it there and puts in another one on top of it for good measure.

      Tsk tsk tsk

      Ok, turns out that's a bug in the last three 1.5 templates (synapse, hivemind, mediamogul)... overall for the vast majorirty of 1.5 templates we've released we use the mootools behaviour for 1.5 to load the system copy of mootools. The secondary inclusion is a copy/paste error when porting the 1.0 template to 1.5. Those will be removed now it's been oh so gracefully brought to our attention.
    • Last Edit: 17 years 1 month ago by Andy Miller.
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • Andy Miller wrote:

      Ok, turns out that's a bug in the last three 1.5 templates (synapse, hivemind, mediamogul)... overall for the vast majorirty of 1.5 templates we've released we use the mootools behaviour for 1.5 to load the system copy of mootools. The secondary inclusion is a copy/paste error when porting the 1.0 template to 1.5. Those will be removed now it's been oh so gracefully brought to our attention.

      Would we simply comment out a line in index.php to correct for this? :)
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • The packages have now been updated, but you can just remove/comment out this line:
      <script type="text/javascript" src="<?php echo $this->baseurl; ?>/templates/<?php echo $this->template?>/js/mootools-release-1.11.js"></script>
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • If you find the 70K of the default mootools too much, use the method discussed here to replace the original mootools file with your own at the template level.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • Yes, again the default mootools has almost no compression. I've no clue why. This is something that should be directed to the joomla core team (of which i'm no longer apart remember) and perhaps a ticket should be submitted on the joomla tracker??? this would be a better solution than us trying to replace the core joomla version.
    • Terp's Avatar
    • Terp
    • Elite Rocketeer
    • Posts: 1720
    • Thanks: 23

    Re: too weight too weight too weight

    Posted 17 years 1 month ago
    • GollumX wrote:
      If you find the 70K of the default mootools too much, use the method discussed here to replace the original mootools file with your own at the template level.

      Awesome; thanks, sir.

      ..so I am assuming (I am writing my essays for a new job, so tied up all night, but will read that thread in more detail later ;) ) that you can strip out portions of the library that are not currently being utilized, thereby saving serious 'k' in not loading everything and the kitchen sink, per se? I am new to mootools, too, but would assume all this is possible... moo. :)

Time to create page: 0.071 seconds