Skip to main content
All CollectionsInstallation
Excluding Poper from NitroPack Cache
Excluding Poper from NitroPack Cache
Karan Bhakuni avatar
Written by Karan Bhakuni
Updated over a month ago

After installing Poper on your WordPress website with NitroPack, it's essential to exclude Poper's JavaScript file (poper.js) from caching. This ensures Poper always loads the latest version, preventing conflicts with cached data and guaranteeing optimal functionality.

Here's how to exclude Poper.js from NitroPack Cache:

Access Your NitroPack Dashboard:

Begin by logging in to your NitroPack dashboard.

Within the NitroPack dashboard, locate the "Cache" settings section.

Find the "Exclusions" Section:

Scroll down within the "Cache" settings until you find the "Exclusions" section. This is where you can specify files or resources to be excluded from NitroPack's caching process.

Enter Poper.js Exclusion:

In the "Asset URL/Code" input field, enter the following text: *poper*

This wildcard entry will ensure that any file or code containing "poper" is excluded from NitroPack's caching.

Add the Exclusion:

Click the "Add" button next to the "Asset URL/Code" input field to add the Poper exclusion to the list of excluded assets.

Save Changes:

Once you've added the exclusion, click the "Save" button to apply your changes.

Purge Cache:

To ensure that NitroPack completely clears its cache and takes the new exclusion into account, click the "Purge Now" button (usually located in the top-right corner of the NitroPack dashboard).

By following these steps, you've successfully excluded Poper.js from NitroPack's caching. This will ensure Poper functions optimally on your WordPress website!

Did this answer your question?