Following line does't have /products.* page. This tells Nginx to cache all product pages by default.
Idea is fast loading product pages will improve scalability of a store and also conversion.
| public function ipn_handler() { | |
| @ob_clean(); | |
| $ipn_response = ! empty( $_POST ) ? $_POST : false; | |
| $valid_ip = '34.231.60.225'; | |
| $remote_ip = $_SERVER['REMOTE_ADDR']; | |
| // Verifica se a resposta IPN não está vazia e se o IP do remetente é igual ao IP válido | |
| if ( $ipn_response && $remote_ip == $valid_ip ) { |
Following line does't have /products.* page. This tells Nginx to cache all product pages by default.
Idea is fast loading product pages will improve scalability of a store and also conversion.
| # hhvm - HipHop VM | |
| # | |
| # The HipHopVM server provides a high performance PHP stack and web server. | |
| # modified by pjv from original found here: http://stackoverflow.com/questions/19013516/upstart-script-for-hhvm-hiphop | |
| description "HHVM server" | |
| author "pjv https://gist.github.com/pjv/2e9ab32d8d9884bf79a4" | |
| start on filesystem or runlevel [2345] | |
| stop on runlevel [!2345] |