Conversation
supportIn the current rules the plugin adds a rule when the mode is prerender: ‘selector_matches’ => ‘.no-prerender’, wouldn’t it make sence to make this more generic? Like : array( ‘not’ => array( ‘selector_matches’ => [“a[rel=nofollow]”,”.no-$mode”,”.no-speculation”] ), ),
In general, prerendering can be the more problematic mode if there is JavaScript on the page which isn’t aware of the prerendered state. For example, it could inadvertently track a page view even if the user never went to the page. This is why there is a specific class for disabling prerendering. More rationale is in https://github.com/WordPress/performance/issues/906
fair enough, would be quite impossible to include all eccentric needs into a single plugin. The api is quite a beast of possibilities. The fix in rel=nofollow solved my actual problem as well. regards
In general, prerendering can be the more problematic mode if there is JavaScript on the page which isn’t aware of the prerendered state. For example, it could inadvertently track a page view even if the user never went to the page. This is why there is a specific class for disabling prerendering. More rationale is in https://github.com/WordPress/performance/issues/906
fair enough, would be quite impossible to include all eccentric needs into a single plugin. The api is quite a beast of possibilities. The fix in rel=nofollow solved my actual problem as well. regards