Compatibility with WPML
-
Hey there!
First of all, this plugin is fantastic. We moved away from WPRocket’s preload functionality and haven’t looked back!
The second thing is that we noticed a small incompatibility with WPML. When pre-warming the cache, the total count reports all posts irregardless of language. This makes sense, as you’d typically want to cache all content of your chosen type(s) regardless of language.
However, the pre-warmer uses WP_Query to collect the urls to process. Without “suppress_filters => true”, when the pre-warmer is manually run, only content in the currently selected admin language will be chosen. This happens even when “All languages” is chosen in WPML.
This is frustrating for us because we have multiple languages, and much switch to each language before manually running the pre-warmer. Do you see any issue adding suppress_filters => true to the WP_Query to resolve this in a subsequent release?
You must be logged in to reply to this topic.