Back Forward Cache (bfcache) for Magento 2

Back Forward Cache (bfcache) Extension for Magento 2
Hyvä Compatible Themes Out-of-the-box
Mage-OS Compatible
Composer Installation Composer Installation?

One Of The Most Powerful Tools For Improving Performance For Real Users.

Improve your Core Web Vitals (CWV) Field Data & User Experience by enabling the Back/Forward Cache (bfcache) for your Magento 2 store.

Performance & Usability Boost
For Your Magento 2 Store:

  • Recommended by Google
  • Instant Page Loads
    On Back/Forward Navigation's
  • Improved Core Web Vitals
  • Improved User Experience
  • Reduced Server Load

See All Highlights


Magento Marketplace Approved by
  • One-Time Payment
  • Lifetime Access To Source Code
  • 1 Year Free Support
  • 1 Year Free Updates

Approved & Verified by Magento Marketplace


1st Extension Provider
     With Hyvä Support
     Awesome since 2021!


Unencrypted. 100% Open Source & Customizable


Coding Standards Applied. Clean & Readable Code


Countless Satisfied Customers: Be The Next One!


Made With Love

Our extensions are made with love & passion for building new things, perfection & performance in mind.


Field Tested

Our extensions are field-proven in our own client projects.

Customer Feedback


Improve Your Core Web Vitals (CWV) Field Data by up to ~8-10% !!!

By Enabling the Back/Forward Cache (bfcache) For Your Magento Store


All major browsers, Chrome, Firefox and also Safari, have a so called Back/Forward Cache (bfcache).
The idea with this cache is to provide instant page loads when a user navigates a website via back and forward buttons.
These instant page loads are achieved by caching a page viewed by a user and returning this cached version without any network request - even better: It is a complete snapshot of the page, including the JavaScript heap and other than e. g. the browsers HTTP cache, the bfcache is an in-memory cache, which allows ultra-fast response times!
A tiny little feature that makes a huge difference not only for Core Web Vitals (CWV) but directly boost the user experience dramatically!
An awesome user experience you definitely want your customers to enjoy, right?
But bummer, the problem is, by default Magento tells the browser to not use the bfcache!!!
Yes, you read this right, Magento disables this amazing and game changing performance feature at least for any customer browsing your store using Chrome or Firefox.
But no worries, your customers no longer have to use your site without bfcache...
Read on to learn more about our Back/Forward Cache extension to speed up the browsing experience and at the same time improve your CWV field data significantly in your Magento 2 store.


Back/Forward Cache extension for Magento 2 by JaJuMa enables the bfcache for your Magento 2 store.
Finally, also your customers using Chrome and Firefox can enjoy the pleasure of instand page loads while navigating your store via back and forward buttons.
The improved user experience (UX) provided by a functioning bfcache should be reason enough to start using our extension today. But as every merchant and Magento store owner, you are probably interested in improving your CWV as much as possible, right?
Enabling the bfcache for your site can improve your CWV field data by up to ~8-10% or even more...
Why wait and miss this chance to improve your store?
Get our Back/Forward Cache extension now and boost your site performance beyond Google PageSpeed!
Thanks to instant page loads for back/forward page view actions from super-fast in-memory cache...

"The Back/Forward Cache (bfcache) is one of the most powerful tools available for improving a page's performance for real users."
(Source: Lighthouse v10 release blog post)


Back/Forward Cache for Magento 2 by JaJuMa-Develop
Magento with bfcache enabled =

Instant Page Loads for Back/Forward Navigation's - Improved UX - Improved CWV Field Data


Use Back/Forward
Cache (bfcache)

In Magento 2 Stores


Instant Page Loads On
Back/Forward Navigation's

For Magento 2 Stores


User Experience

Through Faster Page Loads


Core Web Vitals

Field Data


Server Load

Pageviews loaded 100% from Browser Cache

Hyvä Theme Compatible
See Hyvä Demo
Mage-OS Compatible
See Mage-OS Demo


Back/Forward Cache (bfcache) for Magento 2
by JaJuMa In Detail.

Performance & Usability Boost for your Magento store

JaJuMa Back/Forward Cache Extension

Why Do I Need bfcache For My Magento Store?

Back/Forward Cache (bfcache) is a native Browser feature that provides significant improvements for the user experience through instant page loads for back/forward navigation's. However, out-of-the-box, Magento disables the bfcache for your customers.
With our Back/Forward Cache (bfcache) extension for Magento 2 you can let your customers enjoy a much smoother browsing experience on your site while at the same time dramatically improve your Core Web Vitals field data and reducing your server load!

The benefits when using the bfcache are impressive, it is certainly a browser feature you don't want to miss for your Magento store.
With our extension, using the bfcache for Magento is a no-brainer!
A huge quick-win optimization with no risks. Eventual pitfalls have been taken care of, just install and enable the extension and enjoy the improvements for your Magento 2 store...
Read more below on how much other sites improved their Core Web Vitals and User Experience by using the bfcache...

How Back/Forward Cache (bfcache) by JaJuMa
Improves Your Magento Store

Improved Page Load Times:

Instant Page Loads!
Yes, you read that right. With bfache, back/forward navigation's will restore the rendered page from in-memory cache. No network request, no reading from disk - literally the fastest possible page loads!

Smoother Browsing Experience:

While searching for the right products, your customers frequently go back and forth using the browsers back/forward buttons.
With bfcache enabled, your customers will experience and love the instant page loads and responsiveness of your site without any delays, waiting times and page rendering.

Improved Core Web Vitals (CWV) Field Data:

Core Web Vitals where designed for measuring the User Experience. So of course, instant page loads via bfcache have a direct positive impact on your Core Web Vitals!
Thanks to bfcache being able to restore the rendered state of a page, without needing to load any resources from server, Content Layout Shift (CLS) will literally be 0 and your Largest Contentful Paint (LCP) be as fast as it can get.

Reduced Server Load:

bfcache will save you server resources!
Pages restored from bfcache are displayed to your customer without any server request.
This means, by enabling the bfcache you can reduce server load noticeably since back/forward navigation's don't need to be processed anymore by your server.

See & Try Back Forward Cache (bfcache)!

Back Forward Cache (bfcache) Extension by JaJuMa is active on this site & our demo sites.

Use your Browser back/forward buttons and see the small popup in bottom left of your screen.
The popup shows up if your page view was restored from bfcache and displays the Performance & Core Web Vitals KPIs for your current page view (CLS, FID, FCP, LCP, INP + TTFB)
These figures are taken into account in the calculation of your Core Web Vitals and therefore help to improve your Core Web Vitals field data.

Of course, this popup is also included in our module and will display when debug mode is enabled. Allowing you to easily debug and see the extension works on your Magento store.

Back Forward Cache (bfcache) - Debug Tool

Back/Forward Cache (bfcache) - A Performance Game Changer In Action...

"The bfcache is a significant browser-level performance optimization, and it entirely eliminates the layout shifts during page load, which for many sites is where most of their CLS occurs. The introduction of the bfcache caused the biggest improvement in CLS that we saw in 2022."
(Source: Top Core Web Vitals recommendations for 2023 by Chrome Developer Relations Team)

The chart from HTTP Archives Technology Report visualizes why Google Developer Relations Team sees bfcache as a significant browser-level performance optimization that caused the biggest improvement in CLS in 2022.

Each line in the chart represents the percentage of sites using a certain technology that passes the Core Web Vitals test. Sites using bfcache (e. g. Lightspeed eComm, Shopify, Shopware & OpenCart) saw a huge bump of sites passing CWV between December 21 and January 22, while other technologies remain stagnant (e. g. Magento & BigCommerce). The later because these technology's / cart systems do not use bfcache.

It is time for your Magento store to get the same performance bump from bfcache as your competitors, right?

Customer Reviews

Review by
This is an amazing improvement, works flawlessly.
Definitely a must-have for any Magento store that cares about performance
A great idea well implemented
Review by
We are using the extension for a customer - it works great! And the support was great too - thanks for that!

Write Your Review

Your Rating:

You submitted your review for moderation.

Frequently Asked Questions

General Magento Extension Questions
How to install Magento 2 extensions from JaJuMa?

We offer different ways of Magento 2 extension installation:

Before Installing

  • We recommend you to duplicate your live store on a staging/test site and try installation on your staging/test site before deploying to your live store
  • Backup Magento files and the store database

Please Note:
It’s very important to backup all themes and extensions in Magento before installation, especially when you are working on a live server. We strongly recommend you to do not skip this step.

Manual Extension Installation via FTP/SSH:

After purchasing an extension, you can download the module as .zip package in your Customer Account.
After downloading the .zip package, please follow these steps for installation:

  1. Log into your hosting space via a FTP client (e. g. FileZilla, WinSCP, cuteFtp)
  2. Create Folder: /app/code/Jajuma/[ExtensionName]*
  3. Unzip extension package and upload files into: /app/code/Jajuma/[ExtensionName]*
  4. Enter and run the following commands at the command line:
    php bin/magento setup:upgrade
    php bin/magento setup:static-content:deploy

* Note: [ExtensionName] can be found in registration.php file: Jajuma_[ExtensionName]


Extension Installation via Composer / Magento Marketplace:

For installation via composer, please get the extension

  • from Github and install as any other extension from Github or
  • from Magento Marketplace and follow this Installation Guide and
    make sure to use the correct key for Marketplace repo (the key that belongs to the account that purchased the module).
    In case of issue with installing via composer, please double-check to use the correct key for Marketplace repo.
    Your key should be in your auth.json file.

Links for composer installation to Github/Marketplace can be found on top of this page in technical info section - Click Here

Error Could not find a matching version of package jajuma/[module-name]. Check the package spelling, your version constraint and that the package

With this error message, most likely the key used for the Marketplace repo is wrong/invalid, i. e. not the key that belongs to the account that purchased the module. Please double-check to use the correct key for the Marketplace repo.

For installing extensions from Magento Marketplace, please follow this guide and make sure to use the correct key for the Marketplace repo:
Installation Guide

Please feel free to get in touch with our support in case you have any further questions or concerns or check with Marketplace support in case the installation issue can not be resolved.

Do you offer free technical support?

After purchasing a (non-free) extension we provide 12 month support via support ticket for free.

Do you offer customization service for your extensions?

Yes, please get in touch with our customer support so we can clarify your requirement and provide a quote.

Where can I download my extension?

You can download your extension from your customer account as soon as the payment has been processed.

Do you offer a free trial period?

Unfortunately, we can not offer a free trial period.

However, we do have demo site for all our extensions. Feel free to test all the features and see how the extensions work.

In case of any questions or concerns regarding compatibility or how some extension works our customer support is also always happy to help.

Do you offer refunds?

All our extensions are non-tangible downloadable goods. Hence we can unfortunately not issue refunds.

Refunds will NEVER be issued for services provided such as installation support, customization and software development work.


Version: 1.0.0

  • Initial Release

Version: 1.0.1

  • Added: Option to close menu if open after restore from bfcache
  • Added: Option to manually exclude URLs from being cached by bfcache

Version: 1.0.2

  • Updated: Compatibility with Hyvä Themes 1.3.0

Version: 1.0.3

  • Improvement: Better handling of stale content in bfcache

Version: 1.0.4

  • Fixed: Issue with auto-close menu
  • Fixed: Code standard issue
  • Added: Debug Tool

More Extensions

Maybe also interesting for you?
More valuable Extensions and Add-Ons for your Magento Store

Our Customers Are Excited!

How do you like this extension?