Help Center
How to integrate with WP Fastest Cache
Introduction:
This guide will walk you through integrating the Apto CDN with the WP Fastest Cache plugin. Using a CDN (Content Delivery Network) can significantly improve your website’s load times and performance by serving your site’s static assets from locations closer to your users.
Prerequisites:
- Ensure you have the WP Fastest Cache plugin installed and activated.
- Make sure your Apto CDN account is set up and configured with an API key.
Step-by-Step Guide:
-
Access WP Fastest Cache Settings:
- Log in to your WordPress admin dashboard.
- Navigate to Wp Fastest Cache from the left sidebar and click on CDN.
-
Select Other CDN Providers:
- Under the CDN tab, choose Other CDN Providers. This option allows for custom configuration of CDN URLs that are not pre-defined by the plugin.
-
Configure the CDN Settings:
- In the settings section, enter the following:
- CDN URL:
https://s1.aptocdn.com/{domain}/
- Replace
{domain}
with your actual website domain (e.g.,https://s1.aptocdn.com/mywebsite.com/
).
- CDN URL:
- Origin URL: Use your site’s URL, e.g.,
https://www.mywebsite.com
.
- In the settings section, enter the following:
-
Save Changes:
- Once you’ve entered the required settings, click the Save button to apply the changes.
-
Clear and Refresh Cache:
- To ensure the new CDN configuration is active, go to Wp Fastest Cache > Delete Cache and clear all cached data.
- This step is crucial as it purges any pre-existing cached files and forces WP Fastest Cache to regenerate them with the new CDN settings.
-
Verify CDN Integration:
- Navigate to your website’s frontend and inspect a few pages using your browser’s Developer Tools (right-click > Inspect > Network tab).
- Ensure that the URLs for your static assets (images, CSS, JavaScript files) are being served from
https://s1.aptocdn.com/{domain}/
.
Troubleshooting Tips:
- Assets Not Loading from CDN: If your assets are not served from the Apto CDN, double-check the CDN URL format and ensure there are no typos.
- Mixed Content Warnings: If your site serves both HTTP and HTTPS content, make sure that the CDN URL uses HTTPS to avoid mixed content issues.