Optimize your WordPress site with full-page caching.
The WordPress preset is optimized for WordPress blogs, news sites, and content-focused websites. It provides full-page caching while correctly handling the WordPress admin and logged-in user experience.
By default, these are cached:
The WordPress preset automatically bypasses cache for:
/wp-admin/*/wp-login.phpwp-cron.phpDetected via cookies:
wordpress_logged_in_*wp-postpass_*wordpress_no_cachecomment_author_*?preview=true?p=123 (preview permalinks)From your accelerator dashboard:
For best results, consider these plugins:
Cache Management:
{info} You don't need server-side caching plugins when using NordicCDN, but they can help with cache headers.
Object Caching:
Performance:
Install our WordPress plugin for one-click purging:
The plugin automatically purges when:
From your NordicCDN dashboard or via API:
curl -X POST "https://nordiccdn.com/api/v1/zones/{uuid}/purge" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{"type": "path", "paths": ["/my-updated-post/"]}'
Check for:
Cache-Control: private or no-cacheIf you can't access wp-admin:
/wp-admin/* is in bypass pathswordpress_logged_in_* cookie is being respectedIf logged-in users see cached content:
wordpress_logged_in_* cookie existsPoint static assets to a separate Pull Zone:
// wp-config.php
define('WP_CONTENT_URL', 'https://cdn.yourdomain.com/wp-content');
Add appropriate cache headers in WordPress:
// functions.php
function add_cache_headers() {
if (!is_admin() && !is_user_logged_in()) {
header('Cache-Control: public, max-age=3600');
}
}
add_action('send_headers', 'add_cache_headers');
Add dynamic pages to bypass list: