How to solve minify js and css first time load delay?

In the end, I used speed booster plugin to defer javascript and inline CSS. For minifying, I manually minify the .js script and .css files before hand. This helped to improve my pagespeed score without going through first load issue. Like Tom J Nowell suggested, do not use brute force hammer approach by using plugins … Read more

W3TC manual cache flush does not work

The working solution is: <?php /* * Flushing the W3TC Plugin’s Cache entirely * @package WordPress */ ignore_user_abort( true ); include(‘/home/clients/<client-directory>/<website-directory>’ . ‘/wp-load.php’); w3tc_flush_all();

Using Transients

I have set set_transient( ‘pgggo_acf_list_transient’, $pgggo_qry, 12 * 7000 ); is that too high? 12 * 7000 is just over 23 hours. Whether or not that’s too high (or low) depends entirely on your specific needs. The expiry time should be based on how often the data needs to be refreshed. What if there is … Read more

WordPress transient not working with WP Engine

So I don’t know why the return $cached_result; in the else, but if that’s intentional, then you should probably do: return json_decode( $cached_result, true ); Because you’re caching the response body (which is a JSON string) and you’re reading the non-cached result like so: $array = json_decode($result, true);. But if that return was a mistake, … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)