Your Search Bar For Shrewd Tips

How Do I Clear Fpc?


If you are asking how to clear FPC in Magento, FPC usually means Full Page Cache. It stores ready-made versions of pages so a store can serve them faster. After changing a product, page, theme, or configuration, you may need to clear or refresh this cache to see the update. In most Magento installations, you can do this from the Admin panel or with a command-line command. The right method depends on your Magento version and whether the site uses Varnish, Redis, or a content delivery network (CDN).

This guide explains how to clear Magento FPC safely, how to tell whether it worked, and what to check if the old page still appears. If you mean a different kind of FPC, such as a hardware component or another application’s cache, the steps will be different.

What Is FPC in Magento?

Full Page Cache stores the rendered output of eligible pages, including much of the HTML a shopper sees. When another visitor requests the same cacheable page, Magento can serve the stored response instead of rebuilding the page from scratch. This reduces server work and can improve page speed.

Magento manages several cache types. Full Page Cache is only one of them. Other cache types can store configuration, layouts, blocks, translations, and compiled code. Because these caches have different purposes, clearing every cache is not always necessary. For a product or content change that is not appearing, start with the smallest relevant cache operation and broaden your troubleshooting only if needed.

FPC is not the same as your browser cache. It is also not necessarily the same as a Varnish or CDN cache. A store may have multiple caching layers, and clearing one layer does not always remove a copy stored in another.

How to Clear FPC in the Magento Admin

The Admin panel is usually the easiest option if you have the right permissions. The labels can vary slightly between Magento Open Source, Adobe Commerce, and different releases, but the general process is similar:

  • Sign in to the Magento Admin panel.
  • Open System > Tools > Cache Management. In some versions, Cache Management appears directly under the System menu.
  • Find the Page Cache or Full Page Cache row.
  • Select that cache type, then choose Refresh or the equivalent action from the actions menu.
  • Submit the action and wait for the confirmation message.
  • Open the affected page in a private browser window or use a hard refresh to check the result.

Refreshing a cache type tells Magento to rebuild its stored data as pages are requested again. The first visit after clearing FPC may take longer because the page needs to be generated and cached again. That temporary delay is expected.

If you see a warning that a cache type is disabled, refreshing it will not enable it. Check the cache status before changing settings. Enabling a cache type can affect performance or behavior, so do not change cache configuration on a production site unless you understand the setup or have approval from the site administrator.

How to Clear Magento FPC With the Command Line

For developers and server administrators, the Magento command-line interface provides a direct way to clean the full page cache. Run the command from the Magento application root, where the bin/magento file is located:

php bin/magento cache:clean full_page

This cleans the Full Page Cache cache type without asking Magento to clean every other cache type. On some systems, the PHP executable may have a different name or path. Use the PHP version configured for the Magento installation, and follow the access and deployment procedures used by your hosting provider.

To check cache statuses, run:

php bin/magento cache:status

Magento also provides a broader command:

php bin/magento cache:clean

This cleans enabled Magento cache types, so it may be appropriate when several kinds of stored data are outdated. It is broader than cleaning only full_page, however, and can lead to more cache rebuilding. Use it when the issue may involve multiple Magento caches or when your normal maintenance procedure calls for it.

Cache Clean Versus Cache Flush

In Magento, clean and flush are different operations. Cleaning removes entries associated with the selected Magento cache type. Flushing clears the storage used for the cache, which may contain data beyond the specific type you intended to target.

The command php bin/magento cache:flush is therefore a more sweeping action than php bin/magento cache:clean full_page. A flush can affect other applications or services if they share the same cache storage. Avoid using it as your first response to a page that looks stale. If you do need to flush storage, confirm what shares that storage and follow your hosting or development team’s instructions.

In particular, do not run a broad Redis command such as FLUSHALL just to clear a Magento page. It can remove data for multiple databases or applications, depending on the Redis setup. Use Magento’s cache commands or the provider’s approved procedure instead.

What If the Store Uses Varnish or a CDN?

Some Magento stores use Varnish as a full-page caching layer. Others use a CDN or reverse proxy to cache page responses in front of the Magento server. In these setups, there may be more than one copy of a page: one managed by Magento and another held by an external service.

Magento’s cache-cleaning command can send invalidation information to a configured caching service, but that depends on the site’s configuration and integration. If clearing full_page does not update a page, ask whether Varnish or a CDN is active and whether its cache was successfully invalidated.

Use the cache-purge tools provided by your hosting platform, CDN, or Varnish configuration. Prefer purging the affected URL or a narrow group of URLs when possible. Purging the entire edge cache may temporarily increase traffic to your origin server and make pages slower while they are cached again. Avoid manually deleting cache files or issuing purge commands unless you know how the service is configured.

How to Confirm That FPC Was Cleared

After clearing the cache, test the specific page that showed the problem. Use a private or incognito window to reduce the chance that your browser is showing a locally stored copy. You can also perform a hard refresh, but remember that a browser refresh does not necessarily clear Magento, Varnish, or CDN caches.

Check the actual change you made. For example, confirm that the product description, image, price, or CMS content is now visible. If the page is still old, try the following checks before repeating broad cache operations:

  • Confirm that you edited the correct store view, website, product, or CMS page.
  • Check that the content is enabled and that the product is assigned to the correct website.
  • Verify that the page is eligible for full page caching and is not showing personalized or session-specific content.
  • Check whether Varnish, a CDN, or another proxy is serving a cached response.
  • Look for deployment errors, application exceptions, or cache invalidation errors in the relevant logs.
  • Allow for a brief delay if the cache is rebuilt asynchronously by your platform.

When Should You Clear FPC?

Clearing Full Page Cache can help after a change that affects the rendered page but is not appearing for visitors. Common examples include updating a CMS landing page, changing a product’s visible content, deploying a storefront change, or correcting a page that continues to show an old version.

It is not necessary to clear FPC after every edit. Magento and related integrations often invalidate affected cache entries automatically when content changes. Clearing the cache repeatedly can slow the store while pages are regenerated, and it may hide a configuration or integration problem that should be fixed at its source.

For a high-traffic store, choose a quieter period for broad cache operations. If a single page is affected, use the narrowest supported invalidation method. On a production site, follow the site’s change-management process and coordinate with the person responsible for hosting or caching.

Common FPC Clearing Problems

If the Admin panel does not show Cache Management, your account may not have the required role permissions. Ask an administrator to grant the appropriate access rather than changing permissions yourself. If the command-line command fails, confirm that you are in the Magento root directory and that the command is being run as an approved system user.

If the command completes but the page remains unchanged, the content may be coming from a different store view or from an external cache. The page may also be personalized, in which case the response can vary by customer session. Check your caching configuration and logs instead of repeatedly flushing every cache.

If pages become unusually slow after clearing FPC, that may be normal until frequently visited pages are cached again. If the slowdown continues, investigate server resources, cache configuration, and errors in the application or proxy. On a live store, contact your hosting provider or Magento developer before changing Redis, Varnish, or production cache settings.

Conclusion

To clear FPC in Magento, start with System > Tools > Cache Management and refresh the Page Cache, or run php bin/magento cache:clean full_page from the Magento application root. This targeted approach is usually safer than flushing all cache storage. If the old page still appears, check browser caching, store-view settings, Varnish, and any CDN in front of your site. Use broad cache operations only when necessary, and follow your hosting team’s procedures to avoid disrupting other services.


Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.

Shrewdnia

Shrewdnia

Shrewdnia is a destination for curious minds seeking clarity, knowledge, and informed perspectives. Through insightful articles and practical guides our passionate team explores a wide range of topics designed to help readers understand the world around them, make smarter decisions, and stay informed in an ever-changing landscape.


💡 Every question sparks discovery, and every perspective enriches the conversation. Share your thoughts and insights in the comments 👇

Back to blog

Leave a comment

JOIN THE SHREWDNIA COMMUNITY FORUM

What do you think?

Have an opinion, experience, or question about this topic? Join the Shrewdnia Forum and share your thoughts with other readers.

Join the Forum →