Jump to content
benz_admin

Css Optimization

Recommended Posts

benz_admin    0
benz_admin

Hi to all.

I have some problem with loading time of my blog.

I've done some tests and all of them show that is are necessary about 4 seconds to load a css file.

the css path is:

mydomain.com/wp-content/themes/pagelines/pagelines-compiled-css-1_1352746913/

what is it?!?

How can I resolve this problem?

thanks

ps: i've already installed W3 total cache with css minifing! :(

Share this post


Link to post
Share on other sites
Rob    547
Rob

Contact your hosting company and ask them to please upgrade the amount of memory allocated to PHP processing. Usually, hosts set this at 32Mb or lower. Ask for an increase to 128Mb.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Hi,

The compiled CSS you're talking about isn't the issue, the compile css loads after everything else, so it has to wait for all your other content to be loaded beforehand. That's why when you run a test such as Pingdom, it may be listed as taking X seconds to load but thats only after all your images and plugins have been loaded.

If you go to the URL for your compiled CSS, it loads instantly.

I ran a test of my own and found that you're using shared hosting and there are 166 websites hosted on the same server as you. It you're concerned about performance, then I would recommend upgrading to a new package such as a VPS or Ded Box, or changing host.

To gzip your compiled CSS you will have to turn the file mode on by adding the following to wp-config.php


define( 'LESS_FILE_MODE', true );

Over optimisation will actually slow your site down, especially as you have opted to use disk based object/database and page caching, most cheap shared hosts used network filesystems and are slow as custard.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×