Sometimes you may need to exclude entire CSS files or pages from RapidLoad optimization. RapidLoad makes this easy through the use of file and URL exclusions. Exclusions can be added in the Advanced Setting section of the RapidLoad plugin.
Both options will accept full paths, relative paths, full domain names, and even wildcards.
Some valid URL exclusions include: | |
*/terms-conditions/ |
*/privacy-policy |
*/order* |
*/category/*/product* |
Some valid file exclusions include: | |
fontawesome.com |
/my-theme/*.css |
plugins/my-plugin/assets/*.css |
my-specific-style.css |
RapidLoad Tip
NOTE: Trailing slashes are observed and matched exactly. For example, the rule
/terms-conditions/
will match the URLrapidload.io/terms-conditions/
, but will not match the URLrapidload.io/terms-conditions
.