Archived

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

  • 0

Slow page load times

Question

Posted · Report post

Hello All,

 

Running Pagelines for the first time on a network of WordPress Multisite sites.

 

Page load times are pretty bad on sites that don't even have images on them. 

 

http://cowtippersatlanta.com

http://einsteinsatlanta.com

 

Competitive products are saying that Pagelines is inherently slow. 

 

Is there a fix for this?

 

~eric

 

Share this post


Link to post
Share on other sites

22 answers to this question

Posted · Report post

Moving to CentOS improved performance dramatically...

Share this post


Link to post
Share on other sites

Posted · Report post

Loaded dynamically probably.

 

I tried to use this from another post; Enable the static css file mode by adding define( 'LESS_FILE_MODE', true ); to wp-config.php 

 

But when I enable it the site breaks. 

 

~eric

Share this post


Link to post
Share on other sites

Posted · Report post

You dont ned that define line that was pre 2.4.

 

If your server is capable of writing a file and the server is setup right it will right the css file, if not it defaults to loading it dynamically.

 

As with all threads asking about speed all we ask is that you go to advanced tab and enable debug so we can see if there is anything to help.

 

Most likely you are running apache with mod_php so the php process is nobody or www-data.

Share this post


Link to post
Share on other sites

Posted · Report post

Okay, so the less_file_mode is no longer required. My colleague reports that the site is loading the css dynamically. 

 

It's hudsongrille.com what do I need to do to have it be written?

 

He states; ' the theme is storing options and then outputting those options as css it will also cause the page to load slower than a theme that has styles properly styled in a css file. 

 
This is also causing the CDN to not cache images generated by the theme. 
 
~eric

Share this post


Link to post
Share on other sites

Posted · Report post

Yes, I read that in the reply you posted above, no need to repeat.

 

As with all threads asking about speed all we ask is that you go to advanced tab and enable debug so we can see if there is anything to help.

Share this post


Link to post
Share on other sites

Posted · Report post

Simon, 

 

Okay I enabled debug, under Site Options/Advanced.

 

What next?

 

~eric

Share this post


Link to post
Share on other sites

Posted · Report post

Well we cant do anything at all until you turn off all the disk thrashing caching.

Share this post


Link to post
Share on other sites

Posted · Report post

Done

 

Just as a comparison the old site loads in less than 2 seconds, often less than 1, metrocafes.com

Share this post


Link to post
Share on other sites

Posted · Report post

Still just seeing cached pages.

Share this post


Link to post
Share on other sites

Posted · Report post

I disabled the W3 Total Cache plugin. Try now. 

Share this post


Link to post
Share on other sites

Posted · Report post

Still just cached pages. Please re-enable then purge the cache then disable it.

Share this post


Link to post
Share on other sites

Posted · Report post

Here what I did;

I enabled the plugin, there was no option to purge cache, I enabled page and object caching, clicked the purge cache button, disabled all, deactivated the plugin.

 

I also removed a third party widget from the home screen.

 

The page size is now 429.7kb and takes longer than 5 seconds to load

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry, but am still showing cached pages for both sites listed in your opening post.

 

This is exactly why we discourage caching plugins until your completely finished designing a site.

 

You need to empty the cache folder, wherever that is.

Share this post


Link to post
Share on other sites

Posted · Report post

By both sites, you mean 1) metrocafes.com (which is the old site and may be cached but we are not doing anything with it, it was just for a speed comparison) and 2) hudsongrille.com, the cache plugin is disabled for that site. I don't see anyplace where there is a cache folder though...

 

As for discouraging caching plugins until you are completely finished designing a site, why do you assume that we are not finished? When is a website finished that has dynamic content?

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry, I guess we should start this thread again.

I was checking the two urls you posted in your opening post. Now you have provided two more urls.

So i looked at one, yes you have debug on.

PHP type : Apache2handler

PHP User : Posix functions are disabled on this host!

OS : WINNT

 

There is a slim possibility the filemode can be forced to ignore all 3 of these problems with the following filter, but there is absolutely no guarantee as you are using windows.

 

https://gist.github.com/5069166

Share this post


Link to post
Share on other sites

Posted · Report post

The just shows you how difficult communication is, especially in a threaded post. 

 

So the site that we are testing is hudsongrille.com 

 

One thing, even though I am technologist sometimes step by step instruction is best.

 

Where would this "add_filter" go?

 

~eric

Share this post


Link to post
Share on other sites

Posted · Report post

To be fair you didn't mention that URL in the topic. Add the filter to either a child theme functions.php or the free customise plugin functions.php Sent from my iPad using Tapatalk HD

Share this post


Link to post
Share on other sites

Posted · Report post

Right, my bad there. This site has a number of domains in a network format. So it gets a little confusing as to which one I am working on. Thanks for the help.

 

So, I am running Base Theme on the Hudson Grille site. In the Themes folder I have the folders, pagelines and pagelines-template-theme. Maybe the pagelines-template-theme folder is the base theme? In this folder there is a functions.php 

 

I added add_filter( 'render_css_posix_', '__return_true' ); there

Not sure what to check to see if it is working

 

Note, failing getting this site working properly (loading in under 2 seconds) we are going to be moving over to a Linux box...

Share this post


Link to post
Share on other sites

Posted · Report post

Yea that's how it's done. If that filter won't work then your out of luck really. Windows isn't really a server platform for these reasons. Sent from my iPad using Tapatalk HD

Share this post


Link to post
Share on other sites

Posted · Report post

James,

 

I took a look at this post. This site is hosted on dedicated Amazon EC2 server with plenty of ram overhead and processing capability. No other sites are hosted on it. SuHosin is disabled.

 

We setup W3 Total Cache and a CDN. However, my colleague notes the following;

the theme is storing options and then outputting those options as css it will also cause the page to load slower than a theme that has styles properly styled in a css file. This is also causing the CDN to not cache images generated by the theme. 

 

Your thoughts? 

 

~eric

Share this post


Link to post
Share on other sites

Posted · Report post

Is the CSS being written to a file or loaded dynamically?

Share this post


Link to post
Share on other sites