Tag Info

New answers tagged

0

Caching plugin definitely helps as Alex already mentioned. But you will still hit a resource limit when you get a lot of visitors. There is a point you can't do much more than upgrading your hosting plan for more resources. Consider a hosting provider such as WPEngine which automatically optimize your WordPress with caching and allows you to easily upgrade ...


2

Wordpress can be a resource hog if you don't use caching. W3 Total Cache could help you a lot with MySQL, Object and Page Caching. You should also install PHP-APC and use it with the plugin. It can do wonders.


0

As per this question, you can use fragment caching to exclude specific things from being cached: Edit your templates to with the following syntax to ensure that dynamic features remain so: Example 1: <!-- mfunc any PHP code --><!-- /mfunc --> Example 2: <!-- mfunc -->any PHP code<!-- /mfunc --> Example 3: ...


0

Here is the mfunc part in the 0.9.2.9 version of the W3TC plugin: http://plugins.trac.wordpress.org/browser/w3-total-cache/tags/0.9.2.9/lib/W3/PgCache.php#L1386 where the regular expression is: $buffer = preg_replace_callback('~<!--\s*mfunc\s*' . W3TC_DYNAMIC_SECURITY . '(.*)-->(.*)<!--\s*/mfunc\s*' . W3TC_DYNAMIC_SECURITY . '\s*-->~Uis', ...



Top 50 recent answers are included