Get user name and caching system
Get user name and caching system
Get user name and caching system
Website working fine when logged in but not working fine when we logged out
Simply put – not everything in object cache is an option. Many other things, such as fetching posts or results of resource-intensive function calls, are also cached in there. I am not sure about meaning of that naming scheme, but according to plugin’s author that seems to be normal operation.
Generally speaking your apc.shm_size should be double your highest seen used amount. You want to try and prevent your cache full count from being higher than 0. You might want to also lower some of your ttls. I’m working with someone on AWS EC2 with 5 vhosts and we had to raise apc.shm_size to 512M … Read more
wp_schedule_event is only run when your site is visited and the scheduled time has past. If varnish is serving a non expired cached page then your visitor is not hitting WordPress. Schedules a hook which will be executed by the WordPress actions core on a specific interval, specified by you. The action will trigger when … Read more
Yes, you can serve HTML through CloudFront as long as you don’t mind every user getting the same content until the cache expires. It completely depends how your caches are being stored. I can’t imagine a CDN that would not support this. They might not advertise it since many web sites are dynamic and can’t … Read more
Keeping the answer within the wordpress realm, your best bet is to install W3TC and use that plugin to optimize your speed. Even with the default settings you’d already be gaining a lot. If you want to delve further you can keep tweaking the settings within the plugin. The next step to take would be … Read more
Are you running WordPress 3.5? If not, you should try upgrading because the stability of the blog-switching functionality has been greatly improved in this version: Multisite’s switch_to_blog() is now significantly faster and more reliable Once you have done this, try using the trunk version of the Memcached Object Cache plugin which adds support for the … Read more
Let me quote what’s mentioned in the official FAQ of WordPress.com Stats plugin (JetPack statistics module uses this plugin as the base)… The plugin collects stats via a javascript call, so as long as the JS call is on the page stats will be collected just fine, whether the page is cached or not. In … Read more
WP has multiple caching APIs really. For caching of data, that can be easily rebuilt, Transients API is typically used. However it’s up to you how to architecture interaction with your script. WP exposes Ajax endpoint but its performance is questionable if you need extremely fast responses.