Loading of reset.css is terribly slow via child theme. Perhaps because double @import. Would this be better if I delete @import reset.css from parent style.css and import it directly to the child css?
Thanks
Loading of reset.css is terribly slow via child theme. Perhaps because double @import. Would this be better if I delete @import reset.css from parent style.css and import it directly to the child css?
Thanks
you can add it to header.php, but not the child theme...think it's strange that it is slow, since it is a 1kb file, but it might be a wp issue...
I just shortened the reset and added it to the style.css, so from next version there will be no importing of reset.css....
hi, i'm having the same issue, could you please send me an email with that fix, please?
thanks a lot!
until the next version is released you can just copy the contents of reset.css and add it to the top of style.css (below the import), and then remove the import of reset.css.
http://www.stevesouders.com/blog/2009/04/09/dont-use-import/
Seems there would be better to avoid @import as much as possible. Theme becomes quite heavy using child, cufon, large images, galleries and many other scripts/widgets/plugins. So we have to think seriously about speed&performance.
Also WP cache and PHP Speedy didnt work for me, both broke the theme. DB Cache Reloaded works but I do not see much improvement in speed.
http://tools.pingdom.com/?url=http://www.vfxdude.com/bigfeature/
There you can see loading times, between 5 and 10 sec is not good.
that's a good testing website. Here is a child theme http://tools.pingdom.com/?url=http://www.vfxdude.com/blog2/blog/
there are less plugins, so it's a bit faster. Some of the plugins load much stuff, but there are speed improvements to be made to the core theme too. I will look into this.
it must also be added that my hosting solution is not the fastest. The first loading is mostly php execution time, and that is the biggest bottleneck. I measured the execution time on my local computer and it was 0.3 sec, and on the server it is obviously slower. Also this can also be optimized...
I probably have to move to another hosting solution, because I opened up my home computer firewall and tested with http://tools.pingdom.com, and the total load time is 0.7 sec.
My hosting is Bluehost, and has been for years, but it's just damn slow. When looking at other webhosting speeds, I can't say I'm so impressed either http://www.vertain.com/?pehi
probably have to go for dedicated hosting to get good speeds.
ok, i just made this modifications and the theme is loading faster :)
now my only bottleneck is on "...library/css/optionstyles.php" is there any other fix for this?
thanks
you can hardcode the theme settings in style.css (just access it directly to get the generated styles) and remove optionstyles.php, but then many of the settings will not work in the theme settings. It's a 70ms overhead (on my local computer, but slower on my server ofcourse), but it loads at the same time as many other stuff, so I'm not sure it's worth it. For the child theme I moved the loading of style.css to header of the parent with hooks, so that one loads at the same time too (this will be possible from the next version).
You must log in to post.