• Resolved slipperx

    (@slipperx)


    Hi
    As an alternative to the Custom Post Type question below, I thought I would to set up a new page style using the manual Path rule type.

    Initially I did not have the Path checkbox ticked. I set up the rule to a specific URL leaving the rule empty so it would access the Critical CSS API and generate the correct rule. Although the rule entered the queue, the next morning it had disappeared.

    I assumed this was because the Path checkbox was not ticked and so I tried again, this time ticking that option. This morning I checked again and see a few posts have their own rules appearing in the Path Based Rules list but the manual rule I posted is still sitting there with “To be fetched in the next queue run” instead of any css file.

    This is not what I expected – is that intended behaviour?
    Is there any documentation that might help me anywhere?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    Intended behavior is the empty path-based rule being processed by the queue processing job and ending up with critical CSS as an AUTO rule. I would *guess* that this didn’t happen due to the limitation of number or requests to the ccss.com API on one hand (either in the advanced settings or due to the PHP-process being killed when exceeding the PHP execution time limit) and that the job is removed from the queue by the twice-daily cleanup job which removes older jobs from the job queue.

    But this is me guessing, the only way to properly debug this would be to enable the “debug logging” and to dive into the resulting wp-content/uploads/ao_ccss/queue.log file to check on the rule and job & rule lifecycle.

    frank

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Closing this thread due to lack of feedback but feel free to follow up here if you still have questions.

    have a nice day,
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Manual Path Based Rules’ is closed to new replies.