Jump to content
markland

Is Pagelines CSS a resource hog?

Recommended Posts

markland

My site is crashing - my webhost says its because I'm maxing out resources.

Looking at my webalyzer, the file that is using a serious amount of resources is a pagelines-compiled-css file. At the bottom of the file when brought up independently it just read, "CSS was compiled at Tue, 09 Oct 12 21:58:30 +0000 and took 1.19082 seconds using 50.67MB of unicorn dust."

50MBs is a ton of unicorn dust. But what does that mean?

According to webalyzer, the CSS is using 10x more kbs than the next nearest resource, an image file.

(and apologies if my terminology is all wrong... I'm not a coder by any means).

Help!

Share this post


Link to post
Share on other sites
markland

Try again if you can, Simon. They just increased my limits due to the high resource usage.

Share this post


Link to post
Share on other sites
Simon

http://tools.pingdom.com/fpt/#!/iRNcQmIDZ/http://creepyla.com/blog/

Depends what your calling a resource to be honest. Your making 100 HTTP requests to the server on every pageload, so if you get 1000 users in an hour, well you can do the math ;)

But yea you can force the css to be written to a flat file if your server allows it.


define( 'LESS_FILE_MODE', true );
[/CODE]

add to wp-config.php

Share this post


Link to post
Share on other sites
markland

We're getting 5000 users per day at the high end...

Thanks, will add that code in and see if it helps. Much appreciated!

Share this post


Link to post
Share on other sites
Rob

Okay, let me explain a few things... it's not the PageLines CSS, but WordPress that's at the root, but not to blame. The more traffic your site gets, the more processes run at the same time. When your server's PHP memory resources are all used, the site slows or crashes.

The solution, as I painfully discovered last November, is to migrate to a dedicated server if you're getting heavy traffic. I moved my heavily visited site to iWeb Technologies to a dedicated server and no more crashes.

You can try some short term solutions like the host increasing PHP resource memory to 128Mb or even 256Mb. But failing that, you will need a dedicated machine or WP specific hosting, such as BlueHost or WP-Engine.


Former PageLines Moderator, Food Expert and Raconteur

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


×