4 votes
Accepted

Will cron job run if page loaded is being served from cache?

It depends on the plugin and the cache method you are using. For example, as far as I remember, WP Super Cache offers two different cache methods: PHP Cache HTML Cache Using the first method creates ...
Johansson's user avatar
  • 15.3k
4 votes

How to fix "failed to set referrer policy: The value ' ' is not one of..."?

Chris did you try the solution from the WordPress Forum? According to some users, this can solve the problem. Go into your .htaccess file and change the following: Header set Referrer-Policy "" ...
Jorge Casariego's user avatar
3 votes

How to fix "failed to set referrer policy: The value ' ' is not one of..."?

If you use W3 Total Cache verify this solution: WordPress Failed to Set Referrer Policy Response Headers – W3 Total Cache
Gabrielizalo's user avatar
2 votes
Accepted

What is difference between 'Page Cache' and 'Object Cache' in WordPress?

Page cache is the entire rendered html output for a page. It's useful for serving static content like a WordPress post. Object cache is often the resource-heavy pieces that make up a page. For ...
MikeNGarrett's user avatar
  • 2,661
2 votes

W3 Cache redirects to front page when I press purge all caches

It's because you have set the Referrer Policy header incorrectly set in the W3TC page cache. Referrer Policy This header restricts the values of the referer header in outbound links. **Directive: ...
GerryM's user avatar
  • 21
2 votes

How to prevent those PHP variables from being cached on WordPress?

Page caching generates a static HTML version of the page so IP geolocation occurs on the first rendering and is not triggered on subsequent renderings - your use case is not compatible with W3 Total ...
Gray's user avatar
  • 324
2 votes

How can I disable W3 Total Cache Image Lazy Load for Specific Post Type?

According to the W3 Total Cache plugin author's website, you can prevent individual images from lazy loading if you add the image URLs to the "Exclude words" section of the User Experience &...
authentictech's user avatar
1 vote
Accepted

How to add support for caching plugins for my own plugin?

Is there a generic way to support caching plugins? For example to set a flag after you update an option that caching plugins watch? No, there isn't. On top of that, caching may not even occur in ...
Tom J Nowell's user avatar
  • 59.2k
1 vote

How can I disable W3 Total Cache Image Lazy Load for Specific Post Type?

This answer might be a bit too late but here goes: W3 Total Cache will skip lazy loading images that have class "no-lazy". This means that you can hook to the get_the_post_thumbnail() filter ...
Constantin's user avatar
1 vote

How can I render shortcode so that its not cached by Caching plugins?

I don’t think that there is a way to do this. All that shortcode does is generating some HTML code and putting it as content. But... there is a workaround you can use. Your shortcode can generate ...
Krzysiek Dróżdż's user avatar
1 vote

Make WordPress cache permanent for some pages until edited

In reality it is very hard to know when a page is affected by an edit. A page contains footer, memus, widgets, shorcodes and meta data which might change "globaly". Having a general detection which ...
Mark Kaplun's user avatar
  • 23.4k
1 vote
Accepted

How to set up the REST API to refer to media on a CDN

I ran into the same issue today. Thank you for the question! I am implementing a ReactJS-App in a theme. So I enqueue my scripts and styles with the help of the corresponding Wordpress hooks. I ...
Niels's user avatar
  • 126
1 vote

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-...
Mark Kaplun's user avatar
  • 23.4k
1 vote

Adding a SSL Certificate

As I'm running my WordPress on Nginx, so I can't help on the .htaccess one. But I can comment on the padlock issues. There are a few things need to be done at WordPress: Login into WordPress Admin ...
hcheung's user avatar
  • 339
1 vote

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

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 ...
Randomer11's user avatar
1 vote

How to exclude a widget from W3 Total Cache Plugin

You need to use fragment caching so enable PHP in the widget and then use the following tags: <!-- mfunc --> The following links should help: https://wordpress.org/support/topic/using-...
TomC's user avatar
  • 1,291
1 vote

Is this Solution for Caches vs Cookies Going to Get Me in Trouble?

Your solution with comment_author_proxyhash cookie will of course technically work - all caching plugins I know doesn't analyze hash value and will just stop delivery of cached content based on ...
WowPress.host's user avatar
1 vote
Accepted

Remove "?repeat=w3tc" from any url

I'm using the plugin again and this url var doesn't seem to appear. Yea it's very strange because I don't really change somthing - so it just seem to be a bug of the plugin.
Game Unity's user avatar
1 vote

Object Caching Plugin force every plugin to cache objects?

No, they can't. Caching plugins cannot possibly know how plugins and themes work internally. They store whole html pages and detect some changes to determine whether a page needs refreshing. Suppose ...
cjbj's user avatar
  • 14.5k
1 vote

How can I cache font files on Wordpress

In nearly all of the case WP doesn't participate in serving static files. Its rewrite rules are typically configured to ignore them and let web server handle. Otherwise overhead of firing up PHP ...
Rarst's user avatar
  • 99.7k
1 vote

White blank page when Updating/Draft/Publishing Page/Post

There will be many reasons for blank page, you have not mention version for wp, php etc. **To solve wordpress blank page issue follow the steps** disable all plugin and try (if there is an error in ...
user105976's user avatar
1 vote

Is it possible to share WordPress media files among different domains?

The short answer is that this cannot be done with vanilla WordPress (I know, I tried). However, a little coding could make that happen. Images are stored in WordPress as a built-in post type - ...
Matthew Brown aka Lord Matt's user avatar
1 vote

Getting soft 404 errors (200 status) when caching plugins are enabled

W3 Total Cache has the following option that if enabled will cause this behavior: Cache 404 (not found) pages Reduce server load by caching 404 pages. If the disk enhanced method of disk caching is ...
Scott Buchanan's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible