Multilingual Plugin Support
DJIA Cache is fully compatible with the most popular multilingual plugins used on WordPress websites.
The plugin is designed to correctly cache pages for each language while ensuring that updates in one language do not affect other versions of the site.
Supported Multilingual Plugins
DJIA Cache works seamlessly with the following multilingual solutions:
- WPML
- Polylang
- TranslatePress
- Weglot
These plugins allow websites to serve content in multiple languages using different URL structures.
Supported Language Structures
DJIA Cache supports all common multilingual URL formats, including:
Subdirectory structure
Example:
example.com/en/
example.com/de/
example.com/fr/
Subdomain structure
Example:
en.example.com
de.example.com
fr.example.com
Separate domain structure
Example:
example.com
example.de
example.fr
Each language version is treated as a separate cache entry to ensure accurate content delivery.
Cache Behavior
When using multilingual plugins, DJIA Cache automatically adjusts caching behavior to support multiple language versions.
Separate cache per language
Each language version of a page is cached independently.
Example:
/en/product/
/de/product/
/fr/product/
Each URL generates its own cache file.
Automatic cache purge for language updates
When content is updated in any language, DJIA Cache automatically clears the cache for the affected language pages.
This includes:
- translated posts
- translated pages
- translated product pages
- related archive pages
After purging, the plugin can regenerate the cache using the warm cache or preload system.
Best Practices
For best performance when using multilingual websites:
- ensure each language has a unique URL
- include all language URLs in your sitemap
- enable cache preload to regenerate language pages automatically
Compatibility Notes
DJIA Cache works correctly with multilingual sites that include:
- translated menus
- translated WooCommerce products
- language switchers
- translated archive pages
No additional configuration is usually required.
