PHP question [CLOSED]

Some questions about managing server and products with artica.... Ask here...
First unread post • 18 posts • Page 2 of 21, 2

Re: PHP question

New postby chris_c_ » Thu Feb 09, 2012 5:28 am

The Wordpress PHP app, just like Joomla, does NOT use the standard PHP session manager.

So, it will NOT benefit from the "PHP session path in memory" feature..

http://www.quora.com/WordPress/Why-does ... ion-at-all
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Re: PHP question

New postby Friend7 » Thu Feb 09, 2012 5:33 am

It is too bad
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: PHP question

New postby chris_c_ » Thu Feb 09, 2012 9:48 am

To really speed up Wordpress a lot....

1) Read this guide. http://scotty-t.com/2012/01/20/wordpress-memcached/

2) install this plugin to see activity of the cache: http://wordpress.org/extend/plugins/wp-cache-inspect/

3) install the W3-Total-Cache plugin for WP. Configure it to a) use memcached, and b) minify the JS and CSS. http://wordpress.org/extend/plugins/w3-total-cache/

4) install the Memcached Object Cache plugin for WP, and the PECL extension for memcached. http://wordpress.org/extend/plugins/memcached/

5) install the APC Object Cache plugin for WP - maybe this increases WP speed - maybe it's redundant with memcached and does nothing - have to try and see. http://wordpress.org/extend/plugins/apc/
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Re: PHP question

New postby Friend7 » Thu Feb 09, 2012 5:17 pm

I tested cache plugins and they speed up "static content" in WP.

Some issues appear when WP has "dynamic content".

I will check your info
Best Regards,
Friend7
 
Posts: 2373
Joined: Sun Feb 06, 2011 3:41 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A newbee

Re: PHP question

New postby chris_c_ » Thu Feb 09, 2012 10:26 pm

Yes - dynamic content will usually be slower than static content - because WP has to construct parts of the page customized for the user - with objects from the user's session.

You can make dynamic pages be "almost as fast" as static content by doing all the steps posted above.

Reasons why this works :

1) WP will be keeping the user sessions in memory (with memcached and/or APC).
2) WP will minify the many JS and CSS files into one file JS and one file CSS - reducing the number of HTTP requests the minimum - sometimes this reduces the total number of http requests per page from ~100 to ~20.
3) you'll be able to inspect the cache, see what's happening, why, and this helps with more speed tuning.
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Re: PHP question

New postby chris_c_ » Fri Feb 17, 2012 9:00 am

Friend7 wrote:I tested cache plugins and they speed up "static content" in WP.

Some issues appear when WP has "dynamic content".

I will check your info


With the plugins and steps I mentioned above, and some memory, WP dynamic content (normally.. the "logged in" user-specific pages) should load 90% as fast as static content (normally the "logged out" pages for all users).

Report back your results, or any questions!
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Re: PHP question

New postby chris_c_ » Fri Feb 17, 2012 11:43 am

VERY IMPORTANT :

Either use this to test/diagnose your WP site speed :

http://pagespeed.googlelabs.com/

or,

Get the browser plugin "YSlow" (by Yahoo) - for Firefox, Safari, Opera, etc.

https://addons.mozilla.org/en-US/firefox/addon/yslow/

https://addons.opera.com/en/addons/exte ... low/3.0.5/

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is a Firefox add-on integrated with the Firebug web development tool. YSlow grades web page based on one of three predefined ruleset or a user-defined ruleset. It offers suggestions for improving the page's performance, summarizes the page's components, displays statistics about the page, and provides tools for performance analysis, including Smush.it™ and JSLint.


This is the best speed diagnostic plugin for your WP site.

YSlow tells you a score of A-F (and a number 1-100) for the overall performance score of your page, with detailed information, and suggestions on how to improve the speed.
Last edited by chris_c_ on Mon Feb 20, 2012 5:09 am, edited 1 time in total.
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Re: PHP question

New postby chris_c_ » Sat Feb 18, 2012 2:56 pm

Also... http://www.wpbeginner.com/plugins/how-t ... beginners/

EDIT: What is your google pagespeed score, before.... and after... installing W3TC and google apache mod_pagespeed configuration ?
http://pagespeed.googlelabs.com/
chris_c_
 
Posts: 793
Joined: Wed Oct 20, 2010 7:15 pm
Artica servers number: 1
Linux System: Debian
Technical skills: A Geek

Previous

18 posts • Page 2 of 21, 2

Return to Management console

Who is online

Users browsing this forum: No registered users and 1 guest