Help Center
How to Integrate with WP Super Cache
Introduction:
WP Super Cache is a popular WordPress caching plugin that can significantly enhance your website’s speed and efficiency. By integrating it with Apto CDN, you can further boost the delivery of static content, ensuring faster load times for your users.
Prerequisites:
- Confirm that WP Super Cache is installed and activated on your WordPress site.
- Ensure your Apto CDN account is active and configured with an API key.
Step-by-Step Guide:
- Access WP Super Cache Settings:
- Log in to your WordPress admin dashboard.
- Go to Settings > WP Super Cache in the left sidebar.
- Enable CDN Support:
- In the WP Super Cache settings, navigate to the CDN tab.
- Check the box to Enable CDN Support.
- Configure the CDN URL:
- In the Off-site URL field, enter your Apto CDN URL:
- CDN URL:
https://s1.aptocdn.com/{domain}/
- Replace
{domain}
with your actual website domain (e.g.,https://s1.aptocdn.com/mywebsite.com/
).
- CDN URL:
- In the Off-site URL field, enter your Apto CDN URL:
- Configure Additional Settings:
- Optionally, you can include and exclude specific directories and file types in the Exclude if substring field if there are assets you do not want served through the CDN.
- Ensure that file types like images, CSS, JavaScript are included for optimal use.
- Save Changes:
- Scroll down and click Save Changes to apply the new configuration.
- Clear the Cache:
- Go back to the Contents tab in WP Super Cache and click Delete Cache. This step clears any pre-existing cached content and refreshes it to include the CDN setup.
- Verify CDN Integration:
- Open your website in your browser and use Developer Tools (right-click > Inspect > Network tab) to check if your static assets (e.g., images, CSS, JavaScript) are being served from
https://s1.aptocdn.com/{domain}/
.
- Open your website in your browser and use Developer Tools (right-click > Inspect > Network tab) to check if your static assets (e.g., images, CSS, JavaScript) are being served from
Troubleshooting Tips:
- CDN Not Reflecting: Double-check the URL entered in the Off-site URL field for any typos or formatting issues.
- Mixed Content Warnings: Ensure that the CDN URL uses HTTPS if your site is SSL-secured to avoid mixed content errors.
- Files Not Served by CDN: If some files are still served from your origin, review your settings to ensure those file types are included in the CDN configuration.