-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional CSS preload #33
Comments
Thanks for reporting the issue! The You bring up a good point, though -- that preload only makes sense when the |
Thank you for the quick response. I worked around the issue by commenting prettify_preload_code_styles |
I just posted an alternative solution in the wiki that should allow you to keep the plugin updated and have the preload disabled. Also, could you please confirm if and how |
It's |
Shouldn't it remove the preload tag if it already inlined its content? |
Issue #30 preloads prettify.css. This has a drawback when optimisations like the Fast Velocity Minify plugin are active, which bundles all CSS into a single file. In that case the preloader still fetches prittify.css issuing an unnecessary http request in every page. Preloading should be conditional on a setting.
The text was updated successfully, but these errors were encountered: