dimelevov
Forum Replies Created
-
Forum: Plugins
In reply to: [W3 Total Cache] Page cache issue with caching variableHi,
I have also added a custom post views counter function that I invoke on single.php, and it works only the first time if the page cache is enabled.
function set_post_view() {
$key = 'post_views_count';
$post_id = get_the_ID();
$count = (int) get_post_meta($post_id, $key, true);
$count++;
update_post_meta($post_id, $key, $count);
}Strange…
We have very good result with page cache that is reason why I want to have enabled.Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Page cache issue with caching variableHello @vmarko
Thank you for your answer.
But what if I use WP widget with php code where I call php function which retun the user country based on user location and it work good when I use it directly in php file, but here in the widget it is cached.If I disable the page cache, it works fine. However, with the page cache active (Disk: Enhanced), I see an incorrect location. This likely occurs with the first user who arrives after the page cache is activated or purged.
The same is happning and with $_SERVER[“HTTP_CF_IPCOUNTRY”]
Thanks
Forum: Plugins
In reply to: [W3 Total Cache] Minify not working after updateI’ve forgot to write that the minify files are create after some time hour or two after I purge the cache on the site
Also, I am not sure if my site is using the cached page files. They are being created, but I am unsure if they are being utilized, as the site loads slowly.
Is there a way to check it?- This reply was modified 2 months, 3 weeks ago by dimelevov.
Forum: Plugins
In reply to: [W3 Total Cache] Minify not working after updateHello @vmarko,
right, it look like the site do not use them
Forum: Plugins
In reply to: [W3 Total Cache] Minify not working after updateHi Marko, thanks for you responses.
I cant find any caching rules setup on the Cloudflare. I’ve update the plugin to the latest ver 2.8.2Also, I’ce checked the /wp-content/cache/minify/ folder, screenshots below
https://app.screencast.com/Lz0vwJDGvYH2s
https://app.screencast.com/NOWPLHh7zVha9Forum: Plugins
In reply to: [W3 Total Cache] Minify not working after updateHi,
ver 2.7.0 is good but the 2.7.7 current ver of the plugin which we use not working good for me.
here are the screenshots from the plugin settings
https://app.screencast.com/oKF5spENpP6tShttps://app.screencast.com/7KR7mR1E0xxzB
website https://www.fxleaders.com/
Forum: Developing with WordPress
In reply to: WordPress create new url for every posts thumbnailFor example, attachment post requests could be redirected to a 404 error page. -> How?
I want to make this for SEO optimization and to disable this for a reason to be no-indexed by GoogleThanks for your answer
I updated a wordpress and wordpress database and bud is fix it. Try?
I have same error, do you have a any solution?
Thanks