Historic critical css #111

Closed
rdowling90 opened this Issue Sep 12, 2017 · 5 comments

Comments

2 participants
@rdowling90

I used a previous version of the Autoptimize plugin in 2016 using the 'Inline and Defer CSS' function. I since removed the plugin and want to remove this inlined CSS however it remains in my source code and can't see any way of removing it. Furthermore, the inlined CSS appears to be duplicated so I have two large inlined CSS files in the head of the page.

Is there a way I can remove all remnants of the Autoptimize plugin?

@futtta

This comment has been minimized.

Show comment
Hide comment
@futtta

futtta Sep 12, 2017

Owner

If you removed AO, then the inline CSS is probably (well, it cannot be but) someone else's @rdowling90. Can you share a URL so I can verify?

Owner

futtta commented Sep 12, 2017

If you removed AO, then the inline CSS is probably (well, it cannot be but) someone else's @rdowling90. Can you share a URL so I can verify?

@rdowling90

This comment has been minimized.

Show comment
Hide comment
@rdowling90

rdowling90 Sep 12, 2017

Hi, I have 2 lumps of inlined CSS. One I think is actually being produced by the theme with an id "theme-styles-inline-css", which is annoying but obviously not related to your plugin. The other with the id "critical-path-css" I'm sure is stuck there from a previous version of Autoptomize.

Here is an URL: https://www.cardinus.com/safety-dse/

Hi, I have 2 lumps of inlined CSS. One I think is actually being produced by the theme with an id "theme-styles-inline-css", which is annoying but obviously not related to your plugin. The other with the id "critical-path-css" I'm sure is stuck there from a previous version of Autoptomize.

Here is an URL: https://www.cardinus.com/safety-dse/

@futtta

This comment has been minimized.

Show comment
Hide comment
@futtta

futtta Sep 12, 2017

Owner

no, AO's style ID is aoatfcss, cfr. https://github.com/futtta/autoptimize/blob/master/classes/autoptimizeStyles.php#L536

maybe another plugin such as "above the fold" or "wp criticalcss"?

Owner

futtta commented Sep 12, 2017

no, AO's style ID is aoatfcss, cfr. https://github.com/futtta/autoptimize/blob/master/classes/autoptimizeStyles.php#L536

maybe another plugin such as "above the fold" or "wp criticalcss"?

@rdowling90

This comment has been minimized.

Show comment
Hide comment
@rdowling90

rdowling90 Sep 12, 2017

Ok well thank you for confirming for me. Very odd, I don't have any other plugins that would be doing it. I can only assume it's my theme Jupiter - which is a pain!

Thanks.

Ok well thank you for confirming for me. Very odd, I don't have any other plugins that would be doing it. I can only assume it's my theme Jupiter - which is a pain!

Thanks.

@futtta

This comment has been minimized.

Show comment
Hide comment
@futtta

futtta Sep 12, 2017

Owner

you're welcome, have a nice day! :)

Owner

futtta commented Sep 12, 2017

you're welcome, have a nice day! :)

@futtta futtta closed this Sep 12, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment