20 September 2020

Why choose Evolved Caching?

Hi everyone and welcome back to another edition of

the Hussey Coding blog.


Last week we revealed to the world that our extension for the Magento 1 platform, Evolved Caching, is now free for download. However, I know what you're thinking, "Just because it's free, doesn't mean it's worth it!"

In today's article, we'll task the question... 

Why choose Evolved Caching?
If you're on the search for a full-page caching solution for your Magento store you have probably seen a wide range of solutions with seemingly more on the way all the time. So why should you pick Evolved Caching over other solutions?

 

Evolved Caching offers not only the best performance in the market place, but it's also a significantly more advanced solution than competing products. In performance terms Evolved Caching is comparable to Varnish, meaning you are likely to achieve the same time to first byte (TTFB). If you want to use Varnish, then you can integrate directly and have both Varnish and Evolved Caching serve your cached pages. Evolved Caching will also allow Varnish to cache many more pages than other Varnish only extension solutions. PageCache powered by Varnish, for instance, stops serving cached content altogether as soon as you add a product into the cart.


Evolved Caching can achieve the same TTFB as Varnish because of how it serves cached content compared to other solutions. Most solutions pull the cached content then populate the cached page with dynamic data (i.e. mini cart, header links, etc.) before delivering anything to the browser. This means you'll have to enter the Magento framework to generate the cached content, which is always going to be slow! Why? Well, every time you do this, you'll need to run thousands of lines of code and execute a large number of database requests. This has a direct impact of how long it takes the server to deliver content to the browser and therefore your TTFB.


Evolved Caching is different because it delivers the cached content to the browser immediately giving an excellent TTFB. It then populates the page with dynamic content after it has been delivered to the browser. It can populate the page with dynamic content in 2 ways, either via an AJAX request or via BigPipe. It was the first solution to use AJAX, and the only solution to offer BigPipe as an option.


Whichever method you pick you are going to have the cached page content delivered to the browser quicker and therefore achieve a better TTFB. To give you an idea of how much faster Evolved Caching is, when looking at other solution demo's, we see the server taking around 30% of the time to generate HTML for each page (600ms without caching, 200ms with.) If you have a look at our benchmarks, you will see you are looking at less than 0.5% of the time to generate HTML for each page.


So performance and TTFB is one reason to implement Evolved Caching over other solutions, but, increased performance isn't the only benefit! Evolved Caching has a totally different approach to keeping the cache up to date. Many other solutions rely on a cache purge and crawl cycle to refresh the cache. This means that the entire cache is likely cleared and rebuilt on a daily, or a more regular interval. When making updates to your site's content you may not see those changes reflected until this cache purge and crawl cycle has been completed.


Evolved Caching is totally different in its approach.

The aim right from the start was to make it a hands-off solution that just works, keeping your cache always primed and up to date. Only the relevant cached pages are rebuilt, for instance, when saving a product, category or CMS page. It also caters for caching scenarios that other solutions don't like rebuilding the cache for time-limited, storewide design changes, applying to a product, category or CMS page. The same is true for other time-limited features such as special or limited product prices.


Basically once a cached page has been created, you should never have to delete it, and it should always be kept up to date automatically. However, should you find that you do need to clear your full page cache, Evolved Caching includes the functionality to crawl your site, creating a basic cache as a starting point. It also allows you to regenerate your entire cache in case you want to make a site-wide design change that affects every page like the header or footer.


Another reason to favour Evolved Caching over other solutions is the options it gives you in how you want to store your cached content. You can cache to files, APC, Memcached or Redis with memory-based cache storage being faster on average than files. Although some solutions offer different caching backends, many don't and only cache to files.


Evolved Caching was also developed to make it easy to configure for your install. Other solutions require some development knowledge to hole punch any but standard blocks from caching - so, you need to create an XML configuration file defining extra blocks to exclude. Evolved Caching instead provides a frontend URL helper argument, ?show names. Append this to any frontend URL and the block names will be displayed, just add any of these names into the extension config in admin and that's it - no development knowledge required! You can equally add in pages by URL to be excluded from caching from admin, i.e. cart, checkout, customer login area etc.

 

These things are really just touching the surface of what the extension can do compared to competing solutions and you can read a lot more in our documentation or you can get your FREE copy from our store at

https://store.husseycoding.co.uk/

 

or on GitHub at

github.com/husseycoding/evolvedcaching  

 

Thank you for joining us today, as always please consider liking, sharing and spreading the love on your favourite social media platforms using the #HusseyCoding. Until then, stay safe and have a great day.

You can also join all the fun on our various social media profiles
Facebook - facebook.com/husseycoding
Twitter - twitter.com/husseycoding
LinkedIn - linkedin.com/company/hussey-coding

Sign up to developer connection at www.developerconnection.co.uk
Facebook - facebook.com/DeveloperConnection
Twitter - twitter.com/devconnectionuk
LinkedIn - linkedin.com/company/developer-connection


13 September 2020

What is Evolved Caching?

Hi everyone and welcome back to another blog by

the Hussey Coding team


A few years ago Hussey Coding launched an extension for M1 called Evolved Caching. It is a performance-orientated, highly advanced, easily installed, full page caching solution and today we're going to take a look at it.

 
If you are one of the 240,000 people still using the Magento 1 platform, then this is the caching extension for you. Unlike alternative full page caching solutions, you don't need to be a developer to install and configure this extension. Evolved Caching combines incredible performance with impressive versatility, through easy backend configuration options, and provides simple installation which is unmatched by other full page caching solutions, giving you fast, dynamic content loading every single time!


Evolved Caching works out of the box with multi-store, multi-currency installs. It can also handle caching mobile stores running under the same domain as the main store by allowing you to cache by the user agent.

Configuring and updating of dynamic, user-specific content is made easy with URL helper arguments and simple admin configuration options, so you won't ever need to touch any code.


Compatible with Magento 1.4 and above, Evolved Caching will give your site a massive boost in performance, benchmarks show server processing times drop from 2650ms to just 10ms to generate the full page HTML, and still only 194ms after loading all dynamic content (which happens after page load via AJAX). Siege multiple concurrent user benchmarks show the server jump from just 10.39 transactions a second to 138.89 - well over 13 times as many.


You can read about the full capabilities of Evolved Caching, including in-depth usage and full benchmarks here

But, we've saved the best news till last, with Magento 1 seeing it's official support come to an end from Adobe, we at Hussey Coding have decided to make the Evolved Caching extension FREE for you to download.

You can get your FREE copy from our store at

https://store.husseycoding.co.uk/

 

or on GitHub at

github.com/husseycoding/evolvedcaching


Thank you as always for joining us today, we appreciate your readership! If you would like to contact us, then all of our details are below. Until then, stay safe and have a great day.

You can also join all the fun on our various social media profiles
Facebook - facebook.com/husseycoding
Twitter - twitter.com/husseycoding
LinkedIn - linkedin.com/company/hussey-coding

Sign up to developer connection at www.developerconnection.co.uk
Facebook - facebook.com/DeveloperConnection
Twitter - twitter.com/devconnectionuk
LinkedIn - linkedin.com/company/developer-connection

 

7 September 2020

How to clear your device's web cache

Hi there everyone and welcome back to another

Hussey Coding blog.

Today we continue our series on caching by learning how to clear the cache on two of the worlds most popular operating systems for mobile/devices. But first, if you've missed our first two blogs "What is caching?" and "how to clear your browser's cache" then click on the links to read them.

 
As you can see above, we're going to be telling you how to clear the cache on Android and IoS devices. But before we do that, let's remind ourselves why caching and the clearing of it are important.


Have you ever been using an App on your device and it suddenly shuts down? Or playing a game and be irritated by an unresponsive control? This could be because of outdated or corrupted files in your cache.

While the cache is generally a good thing to have it can take up a lot of space on your mobile or device, sometimes the cached files can become corrupted making the request's response invalid, distorted or buggy, this is particularly irritating on mobile and there are times when old responses can get stuck in the cache, this can again interfere with the running of the sites you want to visit. Clearing the cache is a great way to either fix these problems or at least eliminate them from the list of possible culprits.


Android Browser Cache

 

 

 

 

 

 

 

First off open your mobile browser, the default for Android is Chrome, and in the top right of your screen, you'll see 3 dots.


 

 

 

 

 

 

Tap them to see a drop-down menu appear.
Look down the list until you see "History" and tap on it.


 


 

 

 

 

 

 

 

 

Then tap "Clear browser data."


 

 

 

 

 

 

Here you can choose the "time range" you want to delete along with checkboxes for browsing history, cookies and site data, media licences, Cached images and files and more.



 

 

 

 

 

 

 

 

 

 

 

Just below that is the "clear data" button, tap it to, well, clear the data.

Congratulations, your browser's cache is now empty and ready to store new fresh files to improve your browsing experience.



IoS Browser Cache

 

 

 

 

 

 

 

 

 

 

Firstly open your settings



 

 

 

 

 

 



 

 

 

 

 

 

 

 

 

 

 

Then scroll down until you see the "Safari" icon. It's a way down, so keep going until you get there. Once you've found it, tap it.



 



 

 

 

 

 

On the new screen, scroll down again until you see "Clear History and Website Data" and tap it.


 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


 

 

 

 

 

 

 

 

 

 A little message will pop up telling you what will be deleted with "Clear History and Data" appearing in red. Just tap the red writing and, your browser cache will be cleared.




 

 

 

 

 

 

 

 

 

Thank you again for joining us today! If you liked this article, then please head or social media pages and show us some love by liking, sharing and commenting on our content, we'd love to hear from you! Until then, stay safe and have a great day.

You can also join all the fun on our various social media profiles
Facebook - facebook.com/husseycoding
Twitter - twitter.com/husseycoding
LinkedIn - linkedin.com/company/hussey-coding

Sign up to developer connection at www.developerconnection.co.uk
Facebook - facebook.com/DeveloperConnection
Twitter - twitter.com/devconnectionuk
LinkedIn - linkedin.com/company/developer-connection