251 results

Optimizing WooCommerce on Pantheon: Advanced Page Cache for WordPress

As the owner of a WooCommerce site, speed has a direct impact on your bottom line. The faster your site responds, the more your visitors will convert, and the higher your revenue will grow. 

WooCommerce, meet Pantheon. Pantheon’s new Global CDN serves your cached product pages in milliseconds from 40+ worldwide points of presence. Rather than passing requests all of the way back to WordPress, it stores a rendered version of a page in Fastly’s distribution network.

To Key or Not to Key: That is the Question

To keep something safe, you protect it under lock and key, right? Same is true in Drupal and WordPress. Except in these CMSs, that key is unfortunately often hidden under the “Welcome” mat called your database. Not always a very secure place for such important items. So, the question is, what can you do to keep the key safe?

Let’s back up a few steps. Why are there keys and where are they in the first place? 

JavaScript Testing with Behat

Nowadays, many web interfaces use JavaScript to enhance user interactions, for example, providing autocomplete widgets in search forms. Let’s see how to use Behat to test this JavaScript functionality. Behat is a PHP framework for automated testing. With the help of libraries like Mink and MinkExtension, it can be used for testing web sites and applications. 

The example will visit Wikipedia’s homepage and interact with the autocomplete feature of the search bar.

Subscribe to Developer