Load css asynchronously – render blocking resources
-
Hi,
HI am performing an audit on my website, using gtmetrix tool. It suggests me to eliminate render blocking resources. I have something like 10 css files , that have these paths:
xxxx/cache/wpo-minify/1683903294/assets/wpo-minify-header-xxxxxxx.min.cssI tried to add these css under the “Load the following CSS files asynchronously” box, and it works.
The problem is when the cache updates, than the folder “1683903294” , updates to a new values so, the path is not correct any more.
I am not sure how to fix the problem, since if i try to specify the name of the css file using something like *wpo-minify-header-xxxxxxx.min.css to allow any base url, it does not get matched. So the matching for async css loading appears to be working only when specifying the full base url, but it changes as I wrote before!
Is there any way to provide a correct dynamic matching, based on a part of the url or file name only or any work around?
- The topic ‘Load css asynchronously – render blocking resources’ is closed to new replies.