Skip to content

Commit

Permalink
Bust stylesheet cache group
Browse files Browse the repository at this point in the history
  • Loading branch information
westonruter committed Nov 17, 2021
1 parent b3b6579 commit 96b748b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions includes/sanitizers/class-amp-style-sanitizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -1642,10 +1642,8 @@ private function fetch_external_stylesheet( $url ) {
* }
*/
private function get_parsed_stylesheet( $stylesheet, $options = [] ) {
$parsed = null;
$cache_key = null;
$cached = true;
$cache_group = 'amp-parsed-stylesheet-v37'; // This should be bumped whenever the PHP-CSS-Parser is updated or parsed format is updated.
$cache_group = 'amp-parsed-stylesheet-v38'; // This should be bumped whenever the PHP-CSS-Parser is updated or parsed format is updated.
$use_transients = $this->should_use_transient_caching();

// @todo If ValidationExemption::is_px_verified_for_node( $this->current_node ) then keep !important.
Expand Down

0 comments on commit 96b748b

Please sign in to comment.