richardmorse441
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Autoptimize is creating too many CSS files with the same code.Thanks a lot, Saumya. Now, this issue has been resolved..
But the strange thing that happened is after resolving this issue Google Page Speed score decreased 🙁 Earlier for Desktop, it was 92 or 93 now it’s 88 to 90. Any idea?
Keep up the good work guys.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize is creating too many CSS files with the same code.Hello @optimizingmatters and @isaumya,
Thanks for replying.
I found this code in my functions.php file:
// futta autoptimize function pushAOFiles($in) { $pushType = substr($in,strrpos($in,".")+1) === "js" ? "script" : "style"; header('Link: <'.$in.'>; rel=preload; as='.$pushType,false); return $in; } function pushJQuery($in) { if (strpos($in,"js/jquery/jquery.js")!==false) { $jQurl=includes_url("js/jquery/jquery.js"); header('link: <'.$jQurl.'>; rel=preload; as=script',false); } } //add_filter('autoptimize_filter_js_exclude','pushJQuery'); add_filter('autoptimize_filter_cache_getname','pushAOFiles'); add_filter('autoptimize_filter_cache_create_static_gzip','__return_true');Is this what we are looking at? Please let me know. If this is not what we are looking for then please guide me a bit to find the code. What should I search for?
Thank you.
- This reply was modified 4 years, 4 months ago by richardmorse441.
Forum: Plugins
In reply to: [Super Page Cache] How to Remove Multiple CSS Files from the Headers?Hello Saumya,
Thanks a lot for confirming this.
Re I don’t use the default Cloudflare plugin, I hope we can use your plugin without installing the default Cloudflare plugin, please confirm. Also, if possible tell me whether is there any option that needs to be changed inside the Cloudflare dashboard?
I will ask my developer to check other plugins and theme files to resolve this issue.
Thanks,
Richard- This reply was modified 4 years, 4 months ago by richardmorse441.