Archived

This topic is now archived and is closed to further replies.

  • 0

Website Ultra Slow

Question

Posted · Report post

Pagelines,

 

I am currently building two websites right now. One with Pagelines and one just a generic Wordpress theme

 

Pagelines: http://thebestsites.com/

Other website: http://greenwaymaterials.com/

 

The Pagelines website is ULTRA MEGA SILLY slow. Why is this? I checked Pingdom and it says DNS/CSS-compile is taking about 3 seconds each. Is Pagelines just slower than other themes because of its power? If so, I gotta switch. Speed is #1 for me. Is there a troubleshooting page I can use to figure out whats going on? I'm on a MediaTemple 1GB VPS with Nginx, php-fpm, apc, varnish, and some other stuff. I hooked it up to CloudFlare and stopped that so I know CloudFlare is not causing this.

 

Is it possible for me to be serving up my home page in under 2 seconds? The DNS lookup/Compiled CSS each take about 3 seconds each and then the rest of my content is served in under 1s according to pingdom tools.

 

Is there a list of requirements for Pagelines (performance wise.. recommended server set up etc.) This is killing me! Thanks all for reading.

 

Regards,

 

Brian

1 person likes this

Share this post


Link to post
Share on other sites

20 answers to this question

Posted · Report post

How can one tell if one's server is incompatible? What should I look for in the debug info? I'm struggling with the same issue.

Share this post


Link to post
Share on other sites

Posted · Report post

@dnnyboy:

 

Both of the following will stop the file css mode:

 

 
PHP type : Apache2handler
PHP User : Posix functions are disabled on this host!

Share this post


Link to post
Share on other sites

Posted · Report post

...
PHP type : Apache2handler
PHP User : Posix functions are disabled on this host!

Seems I'm all out of luck then. Any other possible ways of bringing down the compiled css loadtime? As you can see it's quite significant compared to the rest of the css files:

 

pageless.png

Share this post


Link to post
Share on other sites

Posted · Report post

Maybe you should ask your host why your php is running mod_php and a different user to yourself.

 

If your running 2.3.8 you can try the force filter...

 

add_filter( 'render_css_posix_', '__return_true' );

 

add to child functions.php

 

Nothing guaranteed.

 

Apologies to the OP for thread being taken over.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks for your help Simon

no problem... seems like dnnyboy is having the same problem i am

i have access to SSH root... any ideas what I should install to get Pagelines working fine? Right now i'm running nginx, php-fpm, and apc... so i'm on nginx instead of apache and php-fpm instead of php_mod...

update: after fine tuning everything else... the css file is about 50% of my load time

Share this post


Link to post
Share on other sites

Posted · Report post

Your css is still running in 'safe mode' cant tell without debug enabled.

Share this post


Link to post
Share on other sites

Posted · Report post

okay.. should be enabled right now

Share this post


Link to post
Share on other sites

Posted · Report post

Thats great but us peons will never see it as you have caches installed.

Share this post


Link to post
Share on other sites

Posted · Report post

hhmmm.. not sure what to make of that but... maybe there's some other bootleg way of fixing this? is there a way to get pagelines to pre-compile the CSS? right now it seems like my website is compiling every time someone connects... it might be fast now but if I get even a little spike in traffic its gonna noticeably reduce my load times

thanks for your help so far Simon_P

Share this post


Link to post
Share on other sites

Posted · Report post

ok what i meant was, there is no way fro us to see the pldebug url, as your site is cached. So all logged out users just see cached pages.

 

If you want us to try and help, turn off all the caches.

Share this post


Link to post
Share on other sites

Posted · Report post

This is a helpful thread; I'm anxious to see the end result. Thanks for all the interaction here!

Share this post


Link to post
Share on other sites

Posted · Report post

ok i turned off w3 total cache... do I need to turn off server level caches too? any ideas which ones in particular might be causing the problem?

 

maybe I make you an admin on my site? or maybe I can modify the following nginx.conf from this link to not cache the debug url (my nginx.conf is roughly similar):

 

http://elivz.com/blog/single/wordpress_with_w3tc_on_nginx/

 

Share this post


Link to post
Share on other sites

Posted · Report post

Hi Brian

 

Which version of the Framework are you currently on, from 2.3.7 we went back to providing a static style sheet and turned the Less compiling off by default. 

 

I think the link below will help you, a previous client went through the same troubleshooting process with one of our core team, you can read the advise they gave below.

 

http://www.pagelines.com/forum/topic/22660-extremely-slow-website-loading-time/

Share this post


Link to post
Share on other sites

Posted · Report post

Hi, I tried that and it did improve the performance somewhat... but check this out:

 

http://tools.pingdom.com/fpt/#!/fCU2NLwNV/http://thebestsites.com/

 

The time it takes to load the pagelines compiled css and the time to resolve the dns are both very long while the time to load everything else is very short... it is not like this on my non-pagelines site

 

I want to understand why its doing this so I can figure out where performance tweaks are needed.

Share this post


Link to post
Share on other sites

Posted · Report post

I was on the latest version yesterday but I think 2.3.8 just came out

Share this post


Link to post
Share on other sites

Posted · Report post

I am unable to view what version of PageLines Framework you're using as your pagelines style.css is not reachable? 

 

http://thebestsites.com/wp-content/themes/pagelines/style.css

 

Also your compiled CSS isn't the issue, check it out here, it loads instantly - http://thebestsites.com/wp-content/themes/pagelines/pagelines-compiled-css-1_1355183614/

 

Your site loads fast for me!

Share this post


Link to post
Share on other sites

Posted · Report post

it loads fast but its slowing down everything else because all of the other content only starts downloading after the compiled CSS is downloaded.

 

I'm now on the latest version of Pagelines

 

Also, is it possible that I don't have any style.css? what is that for? I have no custom CSS rules yet

 

It seems like the compiled css is not being cached - how can I fix this?

Share this post


Link to post
Share on other sites

Posted · Report post

I added define( 'LESS_FILE_MODE', true );   - does this have to go to the end of wp-config.php or can it go anywhere in the file?

 

My ultimate goal is to get speed that resembles the other website greenwaymaterials.com (that website isn't even set up with w3 total cache yet either)

 

Is this possible with Pagelines? are there significant performance sacrifices?

Share this post


Link to post
Share on other sites

Posted · Report post

Go to advanced and enable debug.

 

less file mode is active by default now, if its not working the your server is incompatible, the above setting will tell you why.

Share this post


Link to post
Share on other sites