Archive for the ‘caching’ Category

This browser tweak saved 60% of requests to Facebook

Posted on: No Comments
Ben Maurer & Nate Schloss: The browser's reload button exists to allow the user to get an updated version of the current page. In order to meet this goal, when you reload, browsers revalidate the page that you are currently on, even if that page hasn't...

Cache Fetched AJAX Requests Locally: Wrapping the Fetch API

Posted on: No Comments
This article demonstrates how you implement a local cache of fetched requests so that if done repeatedly it reads from session storage instead. The advantage of this is that you don't need to have custom code for each resource you want cached. Follow a...

6 More Must-Do Grav Tweaks: Ready for Hacker News Traffic!

Posted on: No Comments
We previously looked at some essential Grav plugins with which to round off the installation of a personal blog. In this post, we'll take a look at some additional, advanced plugins, as well as other tweaks we can apply. Related Pages Once a blog has ...

A Look At The Modern WordPress Server Stack

Posted on: No Comments
  Editor's Note: Today marks a special day for WordPress. Powering many websites (and yes, Smashing Magazine is one of them), it celebrates its 13th birthday today. Happy birthday, dear WordPress! Here's to many more! Do you remember when ...

Automatic Asset Optimization with Munee

Posted on: No Comments
Munee is an asset management tool which can compile LESS, SCSS, or CoffeeScript, manipulate images, minify CSS and JS, and cache assets on the server and client on the fly. It works with PHP 5.3 and newer versions. In this tutorial, we will learn how ...

Caching a MongoDB Database with Redis

Today, performance is one of the most important metrics you need to evaluate when developing a web service. Keeping customers engaged is critical to any company, especially startups, and for this reason it is extremely important to improve the performa...

5 Easy Performance Tweaks for Node.js Express

Posted on: No Comments
Node.js has revolutionized web development and the Express framework must share much of the credit. Express may not be the fastest or most advanced server option, but it's almost certainly the most-used with more than 3 million downloads per month. If ...

Caching Hat-trick: Varnish, Memcached and PHP libraries

Posted on: No Comments
Previously, we looked at some common caching mechanisms we can easily utilize to make our apps faster. In this part, we’ll walk through some of the additional software that we can use with PHP for caching. Memcached Memcached is an in-memory key-val...

Caching Hat-trick: Zend Opcache, Etags and Query Caching

Posted on: No Comments
In this article, we will be looking at some of the common caching techniques in PHP: Opcache, Expires Headers and Query Caching in MySQL. We’ll look at additional approaches in part 2. PHP’s Request Lifecycle Before we move on, it’s important to...