LOADING

Stop Flushing the Cache!

The Ultimate Guide to Caching & Indexing in Magento 2

John Hughes
Head of Magento development
No items found.
About This Session

We’ve all been there, and some of us still are: code, flush cache, check changes, repeat… or if that didn’t work why not reindex too for good measure! The same can unfortunately be true in production environments - indexes not configured correctly and cache flushed aimlessly in the admin panel without realising the impact it has on store performance.

Caching and indexing are so integral to successfully developing with and maintaining a Magento 2 store, yet so many developers and merchants have limited experience of their purpose, what items are cached / indexed and why.

This talk will highlight the issues with needlessly flushing the cache or reindexing when developing as well as best practice and the impact of properly managing caches and indexes in production environments to performance.

I will provide a in depth, overview of how Magento 2 cache works and how to utilise it as a developer to stop wasting time and focus on writing code e.g. which cache(s) to clean (if any) based on the development changes you’re making.

I will also cover an overview of indexing in Magento, including why ‘update on save’ is bad and how it impacts cache as well as a live demo including a deep dive into the database of how ‘update on save’ works via MySQL triggers and how it impacts your Magento store.

Knowing which caches and indexes there are and how they impact Magento also provides developers with a clearer understanding and enables quicker debugging of issues as well as being able to better educate / train their merchants on cache / index management too.

Outline:

  • Outlining the problem with aimlessly flushing the cache has on development productivity and production store performance with page load metrics to backup the points raised
  • Explanation of each cache type, it’s purpose and when (and how) to clean / disable it
  • Utilising automated tools to better manage cache whilst developing
  • Explanation of each index type, it’s purpose and when (and how) to refresh it
  • Overview of how partial reindexing works (deep dive into the database to show the journey of a product progressing through the process) and the impact manual reindexing can cause on performance / cache
  • Tips on best practice and how to ensure productivity / performance is maximised
Session language:
English
April 18, 2019
11:15
-
11:45
See Full Schedule
more great sessions

Might Be Interesting

Henry Ford
  —  
14:00

Magento Association Panel

Ask the new board members about the new Association and where it's heading

Theatre
  —  
12:00

Half a rush hour of Magento 2

Buckle-up for a comedic blast into the Magento universe!

Shoichiro Toyoda
  —  
13:15

How Magento extensions will fit into PWA

PWA providers like Vue StoreFront and DEITY are gaining ground quickly, while PWA Studio is becoming stable quickly as well.

Henry Ford
  —  
11:35

The phenomenon of Community Engineering

The session will open eyes on what the team built to allow 6000 developers word-wide work as one team and develop highly complex product.

See All Sessions
€99
Early bird tickets,
Group discounts available

Access to all sessions, evening network party and museum tour!

Come join our next event!

Join over 300 professionals & learn more about amazing Magento possibilities

Get your tickets

Location

Follow Us

Contact Us