-
AuthorPosts
-
June 26, 2011 at 5:49 am #165665
When visiting my home page with the ja Teline IV templaye (Joomla 1.6) the user is faced with almost 2mb worth of javascript, css, pngs, etc.
Here is a page load readout of the files
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com//&id=4974972This is too much. Turning on caching,join,minify.gzip make almost no difference.
What is the solution?
Tom
June 27, 2011 at 6:07 am #398567The url is crimescene.com
June 27, 2011 at 9:13 am #398614I got my page load down to 267 k
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current/&id=4982639Compare this url to my initial one–Note the difference in what is being downloaded.
Tom
June 27, 2011 at 7:27 pm #398710The page load popped back up. The web page is the same and the nodules are the same. By dumb lick I managed to select a setting that loaded only the css.js and images that were used on the main page, rather than loading every css,js and template image.
What can I do to load onbly the css and js that is used on the page?
Here is todays page load– see all the css,js loaded
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current//&id=4987432I note no traffic in this thread. Are others concerned about getting this template to load fast?
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
June 28, 2011 at 4:41 am #398771We only have a solution that’s to turn on caching, join, minify gzip in this template to make it load faster. Also please reduce images size. That could help in this case.
June 28, 2011 at 7:21 pm #398921<em>@thangnn1510 250082 wrote:</em><blockquote>We only have a solution that’s to turn on caching, join, minify gzip in this template to make it load faster. Also please reduce images size. That could help in this case.</blockquote>
You are not correct. I’m hoping you’ll view the links below and see what I’m referring to.
The same JA Teline web page can be either a huge 2mb page or it can be a 200-500k page.
When faced with the 2mb page I setup caching, minifying, gzip, etc. The result was still nearly 2mb.
I discovered a remedy. By applying my own fix, my main page is 200-500k, depending on what I’m loading.
The difference is what is loaded on the main page. I have learned how to pare the extras from the main page. By applying the correct settings you can get the site to only load the necessary items, rather than loading 600k of js scripts, 400k of of css, etc.
Here are two lists of what is downloaded when visiting my home page.
This is my 500k page with only ncessary items loadxed
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current//&id=4997336This is the same page as above, Its 1500k. Its setup with caching, minifying, gzip, etc.
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current/&id=4988438It is my hope that the developers will look into this and make a fix so that others can enjoy a fast page load as I do now.
Tom
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
June 28, 2011 at 9:51 pm #398939Your Facebook Module (the one with profiles near the bottom right) is what is really pulling down your load speed…at least according my diag tools.
Try turning that off, clearing cache, etc…and try again. Those are NOTORIOUS bandwidth hogs.
And if I was a betting man, I would even go so far as to say it may be in conflict with others…causing a long drawn out page loading fight.Have fun!
John.1 user says Thank You to John Wesley Brett for this useful post
June 28, 2011 at 10:12 pm #398945Thanks…but.
I’m referring to the number of objects and the size of files that the index.php calls on when visiting the main page.
As-is, this template has over 200 objects and almost 2MB of files that must be parsed upon visiting the main page. This is with caching and a minimal number of module positions.
By some voodoo I was able to get the template to only call 26 objects comprising only 260K
Speeding this template requires a fix beyond caching and minified/gzipped files. Most servers will still deliver slow performance if they have to feed the end user a 2MB file.
See for yourself. My site is at 260k today. View the page load results here
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current//&id=4998443I’m hoping the developers will explore and fix this issue.
Tom
crimescene.comJohn Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
June 28, 2011 at 10:18 pm #398947AH…now I understand what you are saying. And I agree with you Teline has a bloat factor. But that’s because it has everything but the kitchen sink in it. About the only thing you haven’t done that might speed it up is try to use a Content Delivery Network to host a lot of your files off-site.
Here’s an explanation of one of our extensions designed to do just that.
http://www.joomlart.com/joomla/extensions/ja-amazon-s3Have a great week.
John.June 28, 2011 at 10:26 pm #398948Thanks!
My main page now loads fast. What I’m trying to shout to the world is this template does not need to load 200 objects. It can load fewer and the page load speed can be lightning fast.
The fix is not a CDN, cache or gzip. The fix is getting the template to load the js that is on the page, rather than js for every module you have on the site. Same for the css, and the many pngs.
Tom
onobles Friendonobles
- Join date:
- January 2011
- Posts:
- 50
- Downloads:
- 0
- Uploads:
- 5
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
June 29, 2011 at 1:44 am #398962<em>@tomarriola 250308 wrote:</em><blockquote>Thanks!
My main page now loads fast. What I’m trying to shout to the world is this template does not need to load 200 objects. It can load fewer and the page load speed can be lightning fast.
The fix is not a CDN, cache or gzip. The fix is getting the template to load the js that is on the page, rather than js for every module you have on the site. Same for the css, and the many pngs.
Tom</blockquote>
Hi Tom,
Would you mind sharing the code you used to fix your site loading problem?
dankumc Frienddankumc
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 29, 2011 at 7:21 pm #399182<em>@jbrett 250297 wrote:</em><blockquote>Your Facebook Module (the one with profiles near the bottom right) is what is really pulling down your load speed…at least according my diag tools.
Try turning that off, clearing cache, etc…and try again. Those are NOTORIOUS bandwidth hogs.
And if I was a betting man, I would even go so far as to say it may be in conflict with others…causing a long drawn out page loading fight.Have fun!
John.</blockquote>1. the facebook module isnt the loading-killer
2. the images are not the factor for the bad loading time.
3. the template ja teline iv is badly programmed!!!dankumc Frienddankumc
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 0
- Uploads:
- 7
- Thanks:
- 2
- Thanked:
- 1 times in 1 posts
June 29, 2011 at 7:28 pm #399186<em>@tomarriola 250303 wrote:</em><blockquote>Thanks…but.
I’m referring to the number of objects and the size of files that the index.php calls on when visiting the main page.
As-is, this template has over 200 objects and almost 2MB of files that must be parsed upon visiting the main page. This is with caching and a minimal number of module positions.
By some voodoo I was able to get the template to only call 26 objects comprising only 260K
Speeding this template requires a fix beyond caching and minified/gzipped files. Most servers will still deliver slow performance if they have to feed the end user a 2MB file.
See for yourself. My site is at 260k today. View the page load results here
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current//&id=4998443I’m hoping the developers will explore and fix this issue.
Tom
crimescene.com</blockquote>hello. how did you get it that the loading time is only 4 seconds????? 260k is a pretty size 🙂
did you really disabled caching, minifying, gzip, etc.?? i thought that gzip (also the module deflated (=gzip) from apache2) is the solution but it wasn’t ;(i cleared all pages on the page, delete all modules e.g. facebook, twitter but no effect. the page loads within 6 – 10sec.
John Wesley Brett ModeratorJohn Wesley Brett
- Join date:
- July 2013
- Posts:
- 2142
- Downloads:
- 17
- Uploads:
- 26
- Thanks:
- 175
- Thanked:
- 645 times in 426 posts
June 29, 2011 at 7:44 pm #399190So what is now the purpose of your post?
Is there an issue you are having? Or something we can help you with?If this is a rant about the size of Teline then apparently you have missed the point of the Teline series.
Teline offers an incredible assortment of options…but nowhere is there any suggestion that you use them all. To do so is folly.As with any good website design, one should use ONLY the options you want…and remove all others. And with each module, widget, image, etc. one should know that with that use comes extra bandwidth.
And one more check of your site from pingdom indicates continuing drain from the Facebook module, non-optimized images and CSS conflicts from 3rd party modules.
June 29, 2011 at 9:49 pm #399214I made a change on my page last night and the page load was up to over 1MB today. I followed the steps outlined in this email and watched the size drop to 260k.
My intention is to get the developers to fix the template so it doesn’t require magic prayers and my goofy steps to get the css/js to be properly served up.
Jbrett, if you look at the pingdom link I posted yesterday you’ll see no gigantic files, just small css and js files. Further, in your pingsom report– the js you pointed out as from facebook is a joined/minified.gzipped file. You can’t identify what it is. I can tell you the largest js on the page when its uncompressed and unjoined is the mootools.more.js. The facebook js file is 10k. Thats a fact, not a guess. Again, the actual list of js, css names and sizes are in the links from yesterday.
My fix for this issue isn’t easily repeated, though I’m keeping a log of what is done when I get the results I want. This works randomly. Last night I tried over a dozen time w/o success to get the page to a nice size. I tried again just now. My page was 1MB when I started and 260k when I finished.
DIRECTIONS
-I start out with a base joomla config with SEO/ URL rewriting set to on in the server config.
-Also the jomla cache is off and joomla gzip is off too.
-I start out on the JA TEline side by turning on template caching, the js/css files are joined/minified/gzipped.
–In the templates Cache Exclude section and exclude at least 1 component and position in the template cache
-At every step I load the main page and then clear all the framework cache and the joomla caches.At this point I’ll run a report at tools.pingom.com and get a baseline for the page load. This is the point where it is 1.5-2MB. You might say,” turning on the template cache and letting it minfy/join/gzip is the fix”. If you believe that, do so now and check the page load in pingom. If you’re happy with what you see no need to read on. I bet you read on…
The next step is to make some changes
-Turn off template cache
-Set css/jss optimize options to none (no join/minify/gzip)
-Clear the framework cache and reload the main page. Do it again.Now make some more changes. These are probably the key to the fix.
1 -set css and js to join/minfy/gzip
2 -Turn on Template cache
3 -Go to the templates Cache Exclude section and remove one of the excluded componentsClick save and then clear the cache and reload the main page. Run your page thru pingdom. If the results aren’t what you want try again. Focus on the final steps 1-2.
These steps sometimes work and usually don’t. They are the exact steps I took just now to get a page load of 260k. Use the link to view the results. Click thru the archives and see where the page size started
http://tools.pingdom.com/fpt/?url=http://www.crimescene.com/current//&id=5008240
Tom
-
AuthorPosts
This topic contains 24 replies, has 9 voices, and was last updated by Thanh Nguyen Viet 13 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum