georgepennet
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Can’t flush cacheI don’t have error now but it seems it still doesn’t work from terminal. Any other method?
Forum: Plugins
In reply to: [Super Page Cache] WP Super Cache and Cloudflare Super CacheOk it was about Supercache specificly. Sorry my fault :D.
Forum: Plugins
In reply to: [Super Page Cache] WP Super Cache and Cloudflare Super CacheThere is a literally Third party tab when you can set other plugin cache so I’m confused. We can’t install different plugin for HTML cache? Supercache for cloudflare is great but for HTML cache for some reason I had better results with W3 total cache. Not sure why.
Forum: Plugins
In reply to: [Super Page Cache] Clear Cache after every new postI think I am not fully understanding what you are trying to do here.
In short I wanted to always provide a cached version of the website.
If you are not going to use $postID then why use it in the function? The above code adds the home page and those sub-pages as part of the related page queue. Alternatively if you would like to perform some logic based on $postID then you can add that to the function and at the end of the function replace 10, 1 with 10, 2. That’s it.
Ideal would be to clear page1 when post in category id 1053 is published. When category id 1054 is published then clear page2 etc etc. But not sure how to achieve that.
- This reply was modified 2 years, 4 months ago by georgepennet.
Forum: Plugins
In reply to: [Super Page Cache] Clear Cache after every new postHm I think I understand how this fallback works now but I still not sure why I wouldn’t be able to generate static HTML version of the website. This HTML version is cached by CF. When new post is published static HTML cached is rebuild so CF can rebuild the cache as well.. This way visitors won’t have to wait (at least most of the times and with latest content) for php execution.
Not sure do you understand what I’m trying to say :P. I thought that maybe with some 3rd party cache plugin this could be done. Anyway if it’s not possible then chill. I simply wanted to understand why because it sounds cool in my head :P.
Hi,
you can take advantage of swcfpc_post_related_url_init filter to add any URLs you want that you would like the plugin to consider as related URLs. The details about this filter is present inside the plugin settings > FAQ Tab: https://i.imgur.com/peDczLv.jpegOk ok so..let’s say new post will be published (even by schedule) and I want to clear cache on that pages to keep both homepage and those pages updated…will this code work:
<?php add_filter( 'swcfpc_post_related_url_init', function( $listofurls, $postId ) { $listofurls = [ get_home_url( null, '/page1/' ), get_home_url( null, '/page2/' ), get_home_url( null, '/page3' ) ]; return $listofurls; } );
Forum: Plugins
In reply to: [Super Page Cache] Clear Cache after every new postOk thank you I’ll try.
Also..I set your plugin to also use fallback page cache. I wonder if it’s possible to set some kind of delay when it comes to purge. ?I’ll try to explain you what I mean. ??In short when something is published (even with schedule feature) I want cloudflare cache for front page, categories and pages to be cleared but not fallback page cache until new cloudflare cached version is ready. Is it possible to set it up like this somehow? Something ??5 minutes delay wouldn’t be a big deal for me.
Forum: Plugins
In reply to: [Super Page Cache] Compatibility with w3 total cacheOK I think I didn’t understand you correctly. How to properly enable Zaraz?
I mean I have for example plugin that display charts on my website in posts. How can I use it with Zaraz?
Plus also I have a question about Workers feature. Will this speed up my website as well?
Not sure how to enable it either :D..
- This reply was modified 2 years, 4 months ago by georgepennet.
Forum: Plugins
In reply to: [Super Page Cache] Compatibility with w3 total cache– If you are hosting the google fonts locally then yes they will be served from CF CDN else they will be served from Google CDN.
Which is better?
– For implementing Analytics tools I will highly recommend you to use Cloudfalre Zaraz compared to GTM or other tools. It is blazing fast and doesn’t run all the crazy amount of scripts at the client side instead they are run at the Cloudflare worker level. Mind blowing stuffs.
I mean financial analytics tools :D. So that won’t work ??
I’ll keep you posted. Thanks.
Forum: Plugins
In reply to: [Super Page Cache] Compatibility with w3 total cacheWell I can simply not using memcached at all but I believe it can be enabled on the server right?
I’ll let you know about there results. I have a lot of JS files to be honest becasue I use a lot of analytics tools like charts on my website so I hope your plugin with cloudeflare will help with that. Also I use google fonts so this also slows downs a website a bit. fonts will be served via CDN as well?
Forum: Plugins
In reply to: [Super Page Cache] Compatibility with w3 total cacheHi,
Im using autooptmize for static file optimization.
I’ll try out your plugin. Any tips how to configure your plugin for best results?
My website is mostly with news so there are a lot of articles. Homepage and another pages should be refreshed every time new post is published.
On my server I have memcached installed as I mentioned. I’m also using cloudflare.
Thank you
Minimum words requirement unless this post is category “X”
Hey. Actually I didn’t had time to deactivate all plugins. Website is live and I can’t do it. I’ll try to do it at night. Problem seems to be more complex because word count is wrong. Article is 700 words, checklist requirement is also 700 words but I still have message that I should increase number of words. Sometime I will add additional 60 words and it’s fine. The other time I have to add 14 words. It looks like it doesn’t count properly special characters or numbers. Not sure. Any idea?
Not really. Publish button is simply not clickable even for admins. Not sure how to resolve this. Maybe some other plugin causing this but when I add required amount of words I can publish :/.
I figured it out. I removed the translations completely, reinstall the plugin and it works now :). Thanks. One more thing. When I download an image I would like to leave only “Source: Pexels” instead of Photo by “Name_of_author” on Pexels. In short I want to remove the “Name_of_author” on”. Is it even possible?
- This reply was modified 2 years, 10 months ago by georgepennet.
Im not sure how it’s even possible because like I said I changed that “photo by” literally everywhere.. I have indeed total cache plugin but this shouldn’t interfere with wp-admin. I cleared that cache even multiple times just in case.