I am currently in the process of configuring CPS rules for my website. One issue I have encountered is that mod_pagespeeds often uses 'unsafe-eval' for scripts, which goes against my security settings. An example of code generated by mod_pagespeeds on a webpage is:
<script>eval(mod_pagespeed_N_OeYaMDDO);</script> <script>eval(mod_pagespeed_vvygFO_kog);</script>
How can I resolve this conflict?
In addition, some plugins installed on my WordPress-based website tend to include inline scripts. Is there a way to address this issue as well?
Lastly, I am debating whether or not it is wise to use 'unsafe-inline' for styles. While Google recommends inline styles for faster page loading, CPS guidelines advise against it. It's difficult to determine who to trust in this scenario.