<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Travis Johnson on Medium]]></title>
        <description><![CDATA[Stories by Travis Johnson on Medium]]></description>
        <link>https://medium.com/@tleifj?source=rss-4669db1ebda3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*rwr-0s8Byc-Tm_AeBXItGg.jpeg</url>
            <title>Stories by Travis Johnson on Medium</title>
            <link>https://medium.com/@tleifj?source=rss-4669db1ebda3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:20:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tleifj/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Demystifying Web Caching]]></title>
            <link>https://medium.com/all-things-visceral/demystifying-web-caching-b957b0f45403?source=rss-4669db1ebda3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b957b0f45403</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[caching]]></category>
            <dc:creator><![CDATA[Travis Johnson]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 17:24:30 GMT</pubDate>
            <atom:updated>2017-04-12T16:10:11.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2EqLbsJxm29MZT5K34RPCQ.png" /></figure><p>This is a question we often ask our colleagues and our clients when they contact us in a panic after a site has been updated but it isn’t looking right. But what is a cache exactly? Why do I have one? Why does it sometimes cause issues? Is mine different than yours? Can I find it at the end of a rainbow?</p><p>Caching is as important as it is mysterious — it has the power to make your site faster, less resource-intensive, and more enjoyable to use. Let’s take a look at what caching is and how it is used.</p><h3>A Bit of Background</h3><p>The internet is amazing and complex. We often take for granted all the different operations that take place when we’re surfing the web. When we visit a website, we enter a URL or click a link and the site loads up in a few seconds. But behind the scenes there are many things that go into making that happen.</p><p>For dynamic sites (like WordPress sites), numerous files and data are brought together to create a page. Your internet browser and the server have instructions for how and when to bring together templates, styles, scripts, images, and database content to create the final page. This might sound like a lot, and for complex or file-heavy pages, it is. If you’ve ever been to a website that loads slowly, it’s probably because the site is requesting many files from the server. Downloading and assembling these files can take a very long time which makes the site load slowly and the experience less than ideal.</p><h3>Enter Caching</h3><p>One of the best ways to avoid the slowdown of request and assembly is to use caching. <strong>Caching is a technique which lets the server or browser serve a pre-built version of the page rather than going through the whole page-building process.</strong> Now when a user visits the site, they will be served a static version which will load much quicker!</p><p>Imagine a hungry customer visits a restaurant to order a sandwich. They want to see what the sandwich looks like so they ask the chef to make one. The chef puts together the bread, spread, and toppings and presents it. The customer decides they don’t want the sandwich, but instead another dish. So the chef throws the sandwich away and makes a different dish instead. After the chef presents this dish, the customer decides they’d actually like to see the sandwich again. The chef goes back and makes the sandwich all over again, but this time they take a photo of the sandwich before presenting it. The indecisive customer says they would rather have something else. So, the chef makes another dish. But — you guessed it — the customer again decides they’d rather have the sandwich. This time, the chef shows the customer the photo of the sandwich in an instant, rather than having to make a whole new sandwich.</p><p>In this imperfect metaphor, the customer is the web site visitor, the chef is the web server, the food ingredients are the files, images, data, etc., the final meal is the web page, and the photo of the meal is the cached version of the web page. It takes much less time and energy to present a static representation of the meal (web page) than having to rebuild it each time.</p><h3>Caching Types</h3><p>There are a couple different ways that web content can be cached:</p><h4>Browser Caching</h4><p>First, the user’s browser can cache files. When a user visits a site for the first time, the page will load slow-ish because the browser is requesting the files for the first time. But when the user revisits the page, the browser has stored a local version of those files and it will serve that to the user instead. This is especially wonderful for mobile users on expensive data plans and iffy connections.</p><h4>Server Caching</h4><p>Additionally, files can be cached on the server before they ever get to the browser. This is especially useful for website pages that are created using page templates and content from a database (like WordPress pages). So when the browser requests a page from the server, the server sends a pre-built version that it has saved in storage rather than going through the long process of building the page. Yay caching!</p><p>There are a handful of WordPress plugins that will do this for you. Our favorites that we use on our projects are <a href="https://wordpress.org/plugins/wp-fastest-cache/">WP Fastest Cache (free)</a> and <a href="https://wp-rocket.me/">WP Rocket (paid)</a>. If content on the page or code in your site’s theme are updated, you will need to manually clear the server cache when using these plugins.</p><p>Besides page caching, the server can also cache database queries and data objects which makes the page-building process faster when it needs to assemble a new version of a page for a site user. We won’t get into the weeds on this caching, but just know that the system will try to minimize any work (like always doing the same database query) by saving repetitive or duplicate operations and reusing them.</p><h3>When Caching Can Cause Issues</h3><p>Every once in awhile you may run into issues with caching, and this usually happens when a site user is seeing old cached versions of files instead of the latest, updated versions. As we’ve seen, there are a few places where these old versions could be cached, and we need to clear our cache to see the right files. If it’s on the server-side, this would require the site administrator to manually clear the cache created by the caching plugin. If it’s the browser that has the old cache, the user will need to clear their cache. Once the cache has been cleared, the user will be served the latest files and the site will look right. Here’s a <a href="http://www.refreshyourcache.com/">helpful link</a> to see how to clear your browser’s cache.</p><p>One other potential issue to be aware of is that caching will not work properly on pages that have automatic or frequent dynamic page updates using server-side code instead of client-side code. Some caching plugins offer an easy fix to this by allowing you to exclude certain pages from being cached.</p><h3>Final Takeaway</h3><p>Caching is one of the easiest and best ways to improve your site’s performance. It’s a way to make your site more efficient, faster, and less resource-intensive. There are a few potential pitfalls, but the benefits far outweigh the costs, so we recommend it for any site. And remember, if you’re using caching on your site and things aren’t looking right after an update, try clearing your cache. 🙂</p><p><em>Originally published at </em><a href="https://www.thisisvisceral.com/2016/12/demystifying-web-caching/"><em>www.thisisvisceral.com</em></a><em> on December 19, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b957b0f45403" width="1" height="1" alt=""><hr><p><a href="https://medium.com/all-things-visceral/demystifying-web-caching-b957b0f45403">Demystifying Web Caching</a> was originally published in <a href="https://medium.com/all-things-visceral">This is Visceral</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering the Growing Digital Landscape with Our New Device Lab]]></title>
            <link>https://medium.com/all-things-visceral/mastering-the-growing-digital-landscape-with-our-new-device-lab-ec0287d19abe?source=rss-4669db1ebda3------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec0287d19abe</guid>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[responsive-design]]></category>
            <category><![CDATA[qa-testing]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Travis Johnson]]></dc:creator>
            <pubDate>Tue, 19 Jul 2016 20:44:08 GMT</pubDate>
            <atom:updated>2017-04-14T21:22:08.015Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AZZZ4uMu8KDbiREMvA_IMA.jpeg" /></figure><p><strong>Over the past decade, our digital experiences have evolved from the screens of desktop computers, to laptops, smart phones, tablets, watches and more. We are now in an age of the Internet of Things, and </strong><a href="http://www.zenithoptimedia.com/mobile-internet-consumption-grow-28-2016/"><strong>the majority of internet use is through mobile devices</strong></a><strong>.</strong></p><p>This poses an interesting challenge for web designers and developers because we want to make sure the sites we build for our clients are accessible, functional, and beautiful across as many screen sizes and digital contexts as possible. So how do we manage it?</p><h3>The Device Lab</h3><p>Here at Visceral we recently created a device lab, which is an array of different mobile devices used for testing our products before they go live. When we are developing sites for clients we need to account for different screen dimensions, browsers, hardware, operating systems, and more. As you can imagine, going through an entire website on each device and browser can be very time consuming!</p><p>Traditionally, multiple people would test sites one device at a time making sure everything is functioning properly and looking right. With the device lab, all the devices can be viewed at the same time.</p><p>We have also coupled our device lab with software called <a href="https://www.vanamco.com/ghostlab/">Ghostlab</a> which syncs the scroll position, events, and pages across all devices simultaneously. This allows our quality assurance (QA) testers to audit all of the devices simultaneously, making the process even more efficient. It’s like magic!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*o5F3bY1N20sCn6geUuAOxg.jpeg" /><figcaption>Device Lab prototype</figcaption></figure><h3>The Details</h3><p>Our current device lab is a prototype so we wanted to build it using inexpensive materials for experimenting. It is a plastic workshop panel with metal hanging “shelves” and pegs to hold up the devices. We chose to use the workshop panels for this first version because it is modular and can be extended, thus making the device lab flexible for different quantities and sizes of devices.<br> The lab has a stand so that all of the devices face the user and a power strip with a timer so that we can easily turn off all of the devices to conserve energy.</p><p>We currently have the following devices:</p><ul><li>Dell Inspiron 11</li><li>iPhone 4S (R2-D2)</li><li>iPhone 5 (Johnny 5 from Short Circuit)</li><li>iPhone 6 (Agent Smith from The Matrix)</li><li>iPad 2G (Iron Giant)</li><li>iPad Mini (Voltron)</li><li>iPod Touch (WALL-E)</li><li>Galaxy S4 (Bishop from Aliens)</li><li>Galaxy S6 (Deckard — Blade Runner)</li><li>Nexus S5 (Ava — Ex Machina)</li><li>Nexus 7 Tablet (T-1000 from Terminator)</li><li>Amazon Fire Tablet (Optimus Prime)</li><li>Droid Charge (HAL-9000 from 2001: A Space Odyssey)</li></ul><p>(We of course had to name them after famous fictional intelligent machines!)</p><p>With these devices we can now test the following:</p><ul><li>Browsers: Chrome, Firefox, Internet Explorer 11, Microsoft Edge, Safari, and Android Browser</li><li>Operating Systems: Windows 10, Windows 8 (virtual machine), Windows 7, OSX 10, iOS 9.3, iOS 9.2, Android 6, Android 5, Android 4.1, Android 2.3, and FireOS 5</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*seio9fSEVq3hWFDL4_nzMg.jpeg" /><figcaption>Our Current Devices</figcaption></figure><p>We are always looking for ways to improve our process, and the device lab has really advanced our QA testing efforts. Here are some main reasons why we love our device lab:</p><ul><li>Makes testing more efficient and comprehensive</li><li>Takes less time and human resources</li><li>Makes it easier to find and squish bugs</li><li>Has a wide range of the most popular devices, browsers, and operating systems</li><li>Uses real devices rather than emulators which don’t always have perfect fidelity</li><li>Because “It looks fine on my machine” is not a good enough answer</li></ul><h3>Looking Ahead</h3><p>As mentioned, this is the first iteration of our device lab and we plan to improve the design and function of it as we move forward.<br> Since the design is modular, we can easily add new devices or remove old devices as the mobile market transforms in the future. Also, since this is a really helpful tool for building better quality web sites, we have discussed the idea of opening it up to the local web development community for developers who might not normally have access to so many devices.</p><p>We are really excited about this latest development at Visceral, and we look forward to happy QA testing and totally awesome websites in the future!</p><p><em>Originally published at </em><a href="https://www.thisisvisceral.com/2016/07/our-new-device-lab/"><em>www.thisisvisceral.com</em></a><em> on July 19, 2016.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec0287d19abe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/all-things-visceral/mastering-the-growing-digital-landscape-with-our-new-device-lab-ec0287d19abe">Mastering the Growing Digital Landscape with Our New Device Lab</a> was originally published in <a href="https://medium.com/all-things-visceral">This is Visceral</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>