Archive for "Peter Keung"

56 posts from this author

Google Analytics: how to filter by multiple domains and paths in a view

Google Analytics: how to filter by multiple domains and paths in a view

By Peter Keung  | May 24, 2017  |  Business solutions

You want to be able to track visitor analytics for websites that spread across multiple subdomains and domains in the same Google Analytics property, tracking users across sites in unified sessions. Let's suppose you have a general-purpose publication with a travel section spread across multiple subdomains and domains, as well as across different paths. You can create a view in Google Analytics so that the team in charge of the travel section can focus on the data they're interested in, with statistics and reports for the travel pages only.

Read more »
Simple, automated cache busting JavaScript and CSS in Symfony with eZ Platform and eZ Publish 5.x

Simple, automated cache busting JavaScript and CSS in Symfony with eZ Platform and eZ Publish 5.x

By Peter Keung  | April 26, 2017  |  eZ Publish development tips

In eZ Publish 5.x and eZ Platform, we use Assetic to manage a website's JavaScript and CSS. By default, if you make a change to your JS or CSS files, the resulting file name ends up the same. This has some undesirable cache implications that vary depending on whether you're using a reverse proxy or CDN, how you've set up browser caching rules, and more. Here's a simple way to version the file names, while still being able to cache the files as much as possible.

Read more »
Efficient QA workflows: a checklist for testing your own code

Efficient QA workflows: a checklist for testing your own code

Not all of the burden of testing website code lies with automated tests, a QA team, or the end client. There is a lot you can do as a developer to test your own website code and make sure it is as good as possible before passing it over to someone else or an automated system. At Mugo, we've developed a simple and general checklist to follow, in order to make "self-testing" a key step in the QA workflow.

Read more »
Persistence caching with memcache in eZ Publish 5.x and eZ Platform

Persistence caching with memcache in eZ Publish 5.x and eZ Platform

By Peter Keung  | November 10, 2016  |  eZ Publish development tips, Site performance

In eZ Publish 5.x and eZ Platform, the concept of "view cache" has changed. The "module result" part of it (which was basically page-level caching if we didn't count the pagelayout) has been offloaded to HTTP caching, most often implemented with Varnish. In addition, Cache blocks no longer exist and have been replaced by ESI (Edge Side Includes) blocks.

The persistence caching element -- that is, caching of your actual content from the database -- of the "view cache" still exists, handled by default on the file system through the Stash bundle. Stash also supports memcache (which, as its name suggests, uses memory, and has a much better performance). We use memcache(d) for all of our production sites.

Read more »

Hi, we're Mugo Web - Nice to meet you!

We're a group of web experts who solve complex web problems.

Learn more about us »

Search


Categories


Yes - we can do that.

We can do that

Many years of experience with complex websites allows us to offer total solutions.

Learn more about what we can do »

We love our clients (and they love us too)

Collage of logos : American express, Habitat, Car and Driver, Rasmussen, and American museum of Natural History

We've solved problems across North America and around the world.

Learn more about what we've done »

We tweet too

Follow us on Twitter for the latest Mugo happenings

mugo twitter page @mugo

© 2008 - 2017 Mugo Web. All rights reserved.