mengwei
Forum Replies Created
-
Thanks for you reply, i did not know that Yoast will take into consideration the redirections created by the Redirection plugin and added them to the sitemaps.
Is there a way to programmatically exclude some urls from yoast sitemap?Thanks i may try it. Thank you for your plugin, it’s very nice. i close this post
Lol indeed, is there a environment variable that can set this setting to “checked”(disabled” by default?
I need the cache preloader because the server is hosted on heroku, and on deployment, the filesystem got reseted, the fallback cache got flushed.
i would like visitor always see the the cache, either it’s cdn cloudflare or the fallback.
By Smart Tiered Cache, u mean “Argo Tiered Cache“?
I will try it, because i see the cache-status: MISS frequently, if there is anyway to make sure it stay HIT all the time, i will try it.
Thanks.Thank you very much, i removed the page rule that “redirect” to https, now everything is working like it should be.
https://hellosafe.com.mx/wp-content/uploads/2023/01/screenshot-2023-01-30-at-093148-1.png
I wish to only use your plugin without combining it with W3 total plugin, but i find that the priming(cache preload) and fallback does not work properly. But it will be another issue in future.
Thanks again for your help in debugging 🙂Hi,
I have no other cache rules nor workers, and the Browser Cache TTL setting is set to Respect Header inside Cloudflare Dashboard.
Is it possible it’s domain related? like cloudflare refuse to cache .com.mx site?Hi, Thanks for your quick response.
here it is the rule:
https://hellosafe.com.mx/wp-content/uploads/2023/01/screenshot-2023-01-30-at-093148.pngHi, i have deactivated the w3 total plugin, remove any advanced-cache.php, and renable page cache of your plugin. It still does not work.
It only affects this site, i have the other sites with the same setup and settings, they work.
Here is the header screenshot after your steps:
https://hellosafe.com.mx/wp-content/uploads/2023/01/screenshot-2023-01-30-at-091251.png
I was using 2 cache plugins because the cache preload/priming does not seems to work in your plugin.Hi, @bphishida i haven’t got to try yet, but i believe an update of wordpress version will fix it like you said. we can close this thread.
Thank you very much for your response.Hi, to update, i just end up doing this in my theme.
add_action( 'template_redirect', 'redirect_on_password_protected_page'); //redirect password protected page with swcfpc to avoid serving cache, when wp-cloudflare-super-page-cache is activated function redirect_on_password_protected_page() { global $post; if ($post && is_plugin_active("wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php") && false === empty($post->post_password) && false === isset($_GET['swcfpc']) ) { wp_redirect(add_query_arg(['swcfpc' => 1], $_SERVER['REQUEST_URI'])); die(); } }Hi, the worker mode did not work, maybe i did not set it up right.
Can we just add a hook in wordpress to return “no-cache” in response header whenever we are serving password protected page? I wanted to try this solution but i would like your opinion on this. is this feasible?
Sincerely,
Mengweiactually, i tried this plugin with just the twentytwentytwo theme, it gives the same behavior (page is cached upon entering good password causes the page become unprotected), so the issue is not coming from my theme.