nürnberg woocommerce talk - 11/24/16
TRANSCRIPT
THE VERY FIRSTNürnberger WooCommerce meetup
Speaker: Thomas Shellberg
Importing products in bulk
ACT I:
CSV Import Suite• Export existing products to a CSV file
• Edit the CSV header titles to match
WooCommerce input fields
• Select the CSV file
• Map any fields manually if needed
• If importing variations, import parent
products first and then the variations.
Tips/Tricks for running a large/intensive WooCommerce store
ACT II:
Don’t use shitty hosting.
Hosting recommendations• If possible, use a VPS or dedicated server
environment. This allows for greater control
over server technologies and variables.
• Mid-range stores can utilize less expensive
setups but have less control.
• Recommendations: Pressable, Siteground,
Flywheel, DigitalOcean.
PHP 7
http://www.zend.com/en/resources/php7_infographic
Useful optimization plugins
WP Performance ProfilerDesigned to help developers optimize the performance of
WordPress sites, running on PHP 5.3 to 5.6 web servers.
https://wpperformanceprofiler.interconnectit.com/
Redis pluginA persistent object cache backend powered by Redis.
https://wordpress.org/plugins/redis-cache/
Delete Expired TransientsDelete old, expired transients from the WordPress options table (wp_options), to
prevent them from bloating your database and even slowing down your website.
Plugins for Testing
Order Simulator pluginSimulates orders placed on a WooCommerce
site, which is very useful for load testing. The
most important metric for an eCommerce site
should be ‘Carts per minute’.
https://github.com/75nineteen/order-simulator-woocommerce
Product Generator plugin
Very useful plugin for generating products en
masse for testing the effect of a large product
catalog on a WooCommerce site.
https://wordpress.org/plugins/woocommerce-product-generator/
Query Monitor pluginGreat tool for debugging slow queries,
redirects, and HTTP requests.
Debug BarGreat tool for debugging slow queries,
redirects, and HTTP requests.
Loader.io
https://loader.io/tests
Web-based service for running automated load tests.
Tutorials for optimization
Designed to Speed up WooCommerce Search
Setting up Elasticsearch
https://guides.wp-bullet.com/install-configure-elasticsearch-speed-woocommerce-search/
Optimizing WooCommerce for thousands of
products
• Clear expired transients from wp_options table
• Move to PHP 7
• Create an index on the wp_options table
• Redis/Memcached object caching
85k product site initial load time: 1.4 seconds
Final load time: .35 seconds
https://www.wpdone.com.au/optimizing-wordpress-and-woocommerce-for-thousands-of-products/
Use a a secondary index table within the same site database.
• The primary benefit is for speeding up back-
end searches(orders and customers)
• The author of the plugin reduced the search
time for Orders from 40 seconds to 5
seconds!
• Tutorial and plugin:
• https://codeable.io/large-woocommerce-search-faster/
Optimization Technologies
• Non MySQL Database - MariaDB or Percona
• CDN - CloudFlare, MaxCDN
• Server Cache - Varnish
• Server stack - HHVM, LEMP, NGINX
• Minification - WPRocket, WP Super Cache
Future Improvements• Ability for WordPress to work with NOSQL
technologies(like Apache Cassandra).
• WooCommerce native support for multi-site
setups(sharing inventory, orders, etc).
• Major focus on performance in WC 2.7
• Native Performance Tools included with
WooCommerce
tl;dr• Upgrade to PHP 7
• Don’t use shitty shared hosting
• Use a CDN
• Use caching
• Use as few quality plugins as possible
• Constantly monitor and test
Example Large Sites
http://www.soulbrother.com/
http://alefbookstores.com/
http://shop.spectator.co.uk/
http://www.pagelines.com/
Resources
• Facebook groups:- Advanced WooCommerce- WooCommerce Help & Share
• Useful sites:- www.bobwp.com - woocommerce.wordpress.com-
Multi-language sites
ACT III:
Two options for multi-language
https://multilingualpress.org/
https://wpml.org/
Questions?