How to Use Apto CDN Without a Caching Plugin
Introduction:
If you don’t have a caching plugin installed, you can still integrate Apto CDN with your WordPress site. Apto CDN has a built-in URL rewrite mechanism that automatically serves your static assets (e.g., images, CSS, JavaScript) from the CDN without needing additional caching tools.
How the Apto CDN URL Rewrite Works:
Our plugin’s URL rewrite feature dynamically replaces URLs of static files with the CDN URL, so your assets are automatically delivered from the nearest CDN server. This approach optimizes load speed and improves performance for all visitors, regardless of their location.
Step-by-Step Guide:
- Install and Activate the Apto CDN Plugin:
- Log in to your WordPress dashboard.
- Go to Plugins > Add New and search for Apto CDN.
- Install and activate the plugin.
- Access Apto CDN Settings:
- Once activated, navigate to Settings > Apto CDN in your WordPress admin panel.
- Configure the CDN URL:
- In the Apto CDN settings page, you will see a CDN URL field.
- Enter your 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:
- Enable URL Rewrite Mechanism:
- Check the Enable URL Rewrite option in the settings. This feature will automatically rewrite URLs for all static assets to load from the Apto CDN.
- Save your changes to activate the rewrite mechanism.
- Verify CDN Activation:
- Open your website and use Developer Tools (right-click > Inspect > Network tab) to check if static assets (images, CSS, JavaScript files) are loading from
https://s1.aptocdn.com/{domain}/
.
- Open your website and use Developer Tools (right-click > Inspect > Network tab) to check if static assets (images, CSS, JavaScript files) are loading from
Additional Recommendations:
- Browser Cache: Ask visitors to clear their browser cache if they encounter issues seeing updated assets.
- Verify HTTPS: Make sure your CDN URL uses HTTPS if your site is SSL-secured to prevent mixed content warnings.
Benefits of Using Apto CDN’s URL Rewrite:
- Faster Load Times: Your assets are delivered from the closest CDN server to your users.
- Simple Setup: The built-in URL rewrite mechanism removes the need for additional caching or configuration.
- Reduced Server Load: Offloading static assets to the CDN reduces the strain on your primary server, helping it run more efficiently.
Conclusion:
Even without a caching plugin, Apto CDN’s URL rewrite mechanism ensures your static content is served quickly and efficiently. By following these steps, you’ll improve your website’s performance and provide a seamless experience for your users.
For any further assistance, feel free to contact our support team.