admin管理员组

文章数量:1122846

I got this recommendation from google pagespeed tool, my pages works fine for desktop but for mobile it gets a score of 60. check the report here.

I removed the css and js files manually from wp-content/cache/min/1/ directory but they keep being cached again. The mobile version is affected by this, how can I solve it efficiently

I got this recommendation from google pagespeed tool, my pages works fine for desktop but for mobile it gets a score of 60. check the report here.

I removed the css and js files manually from wp-content/cache/min/1/ directory but they keep being cached again. The mobile version is affected by this, how can I solve it efficiently

Share Improve this question edited Nov 9, 2022 at 3:19 t31os 18.7k3 gold badges56 silver badges68 bronze badges asked Nov 23, 2020 at 23:17 Karam Abo GhaliehKaram Abo Ghalieh 1011 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 1

Google Page Speed tells you that cached files slow down your page not because cached files are slower than non-cached ones.

It's because (for example) file: https://whcl.ir/wp-content/cache/min/1/aad770152f8bd8d0197b0ef0ecc3052b.css is a combination of all your CSS files and it is the only one, so it contains all your theme, plugins and WP CSS code.

When files are not cached Page Speed checks them and it is listing every file (for example) like: 20 files * 50ms. Now when it is one cached file, Google checker tells you something like 1 file * 1200ms - and the one is faster but it's one so looks like a big website slowing file.

By the way, you have to know, that current page speed result is really good for a website based on a heavy theme like Hello Elementor so it will be hard to speed it up without changing listed theme.

With regard to jQuery - Page Speed tells me that it is loading 136ms, so maybe you have changed something or maybe Page Speed is giving different results in specific cases.

本文标签: performanceRemove unused CSS and JS