Mobile Featured Image Bug

The images not being loaded are prefixed with the domain https://i2.wp.com This is the CDN used when you activate the PHOTON module in the Jetpack Plugin. If you deactivate the PHOTON module or deactivate the Jetpack Plugin, you should be rid of the issue.

Does get_terms() use any sort of caching on its query?

User gmazzap has a good explanation of Object Cache you may want to read over. If we take a look at get_terms() we can see it creates a new WP_Term_Query() and that classes get_terms() is where the potential caching happens. Line 666 specifically. Just a little further down we can see if it test if … Read more

Transient loop issue

The reason it’s only storing the first post data is because you’re using the same transient name for each post. If you want to store multiple movie transients, you need unique names for each movie. Also, the way you’re getting the transient defeats the purpose of using transients. You want to first try to get … Read more

With W3 Total Cache when I publish a post it does not appear in the homepage. Only if i purge all cache [closed]

You are most likely using browser caching ? Therefore new visitors would see the newly published post just fine, but because you’ve previously visited the page its cached and therefore your browser cache hasnt expired. Generally its good practice to clear all caches upon publishing posts/pages and/or activating or deactivating a plugin. You can also … Read more

Will setcookie work if there is a cache plugin installed?

It will most likely depend on the plugin, but you should also remember that your content might be cached also in caching proxies as well. https://stackoverflow.com/questions/9334393/proxy-cacheing-what-about-cookies In other words, if your output is different to two different users, than you can not use caching. The way to go around this is to make the decision … Read more

Transient feeds and caching error

Since you mentioned that this is only happening on certain environments then a possible cause could be that those servers do not have the proper PHP extensions installed to handle parsing XML. Here’s a great Stack Exchange answer that outlines most (if not all) of the required extensions. Specifically, I would confirm whether or not … Read more

How do I force WP_query to fetch fresh, non-cached results?

WP_Query has a Caching Parameters you can configure to return the desired data with/without caching. $swp_args = array( // Show posts without adding post meta information to the cache. ‘update_post_meta_cache’ => false, … ); In your specific case update_post_meta_cache allows you to turn on/off the caching for post meta.

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