hitty
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Different operating systems@dilirity Hi. What we should to do next? I have already sent the details to Jetpack support but have not received any response yet.
Forum: Plugins
In reply to: [WP Super Cache] Different operating systemsThe process of credentials transfer was started by me, the owner of the site. We have already discussed everything, everything will be via a jetpack. Therefore, I do not see any point in discussing this issue of transfer in the future. Thanks.
Forum: Plugins
In reply to: [WP Super Cache] Different operating systemsThank you very much for your help.
The problem is that the first time the page is loaded, the tag is replaced, and the second time, the old text appears again.
I checked your code locally, and the same problem.
If it’s not too much trouble, I can provide you with access to the control panel and FTP to your email.
The site is corporate, and it is very important for them to implement this function.
Thank you very much again.URL: https://dolphin-anty.site
Screenshots:
https://ibb.co/N76tx7R
https://ibb.co/CpywdV3
https://ibb.co/2P3RVV0
https://ibb.co/cbFcyq4define( 'DYNAMIC_CACHE_TEST_TAG_DOLPHIN', '<span>OS BUTTON VERIFICATION</span>' ); // Change this to a secret placeholder tag.
if ( '' !== DYNAMIC_CACHE_TEST_TAG_DOLPHIN ) {
function dynamic_cache_button_os_test_safety( $safety ) {
return 1;
}
add_cacheaction( 'wpsc_cachedata_safety', 'dynamic_cache_button_os_test_safety' );
function dynamic_cache_button_os_test_filter( $cachedata ) {
$os = getOs();
$replace = '<a href="/download/" class="btn btn--outline ms-lg-1 d-none d-lg-inline-block" title="Download for ' . $os[0] . '">';
$replace .= ' Download for ' . $os[0];
$replace .= '</a>';
return str_replace( DYNAMIC_CACHE_TEST_TAG_DOLPHIN, $replace , $cachedata );
}
add_cacheaction( 'wpsc_cachedata', 'dynamic_cache_button_os_test_filter' );
function dynamic_cache_button_os_test_template_tag() {
echo DYNAMIC_CACHE_TEST_TAG_DOLPHIN; // This is the template tag.
}
function dynamic_cache_button_os_test_init() {
add_action( 'wp_footer', 'dynamic_cache_button_os_test_template_tag' );
}
add_cacheaction( 'add_cacheaction', 'dynamic_cache_button_os_test_init' );
}Forum: Plugins
In reply to: [WP Super Cache] Different operating systemsThank you very much for your answer.
I set it up as in the example, but it only works when the cache is disabled (authorized on the site) or when the checkbox is checked “Late init”.
The images show examples of authorized, incognito (with disabled “Late init” ), code.A Google search of this problem did not give an answer ((
Tell me what I’m doing wrong?
https://ibb.co/sF3HJHh
https://ibb.co/k3XQgP8
https://ibb.co/QFVpJBD
https://ibb.co/wQrj4fjThanks for the answer.
The problem is that we want to make the https://dolphin-anty.site/ua/partnership/ pages canonical https://dolphin-anty.site/partnership/ because they have the same content in English. Is this impossible to do with your plugin?
Now we get rid of this problem using add_filter wpseo_canonical.
But I really want to fix it not in the code, but by ordinary managers.Forum: Plugins
In reply to: [WP Super Cache] Wrong page shown on post request@donncha yes, this is a POST to https://geriartriya.ru/rg/simferopol/chastnye-pansionaty-simferopol?
We didn’t use any proxies.
Yes, line 125 is working and returning true. BTW it worked only if i set this settings.
https://www.dropbox.com/s/uohcpz9ux6e2zp9/Screenshot%202023-05-24%20at%2017.28.28.png?dl=0
https://www.dropbox.com/s/p7tiix2r576wxus/Screenshot%202023-05-24%20at%2017.28.10.png?dl=0
Forum: Plugins
In reply to: [WP Super Cache] Wrong page shown on post request@donncha the problem is still there. Can you help me?
Forum: Plugins
In reply to: [WP Super Cache] Wrong page shown on post requestAnd this is mainpage content, but URL is not mainpage
https://www.dropbox.com/s/1hh1vi5p5nyjdca/Screenshot%202023-05-23%20at%2020.33.16.png?dl=0When plugin disabled all works fine,
Forum: Plugins
In reply to: [WP Super Cache] Wrong page shown on post request17:34:02 22758 wpsc_is_caching_user_disabled: false
17:34:02 22758 Supercache Late Init: add wp_cache_serve_cache_file to init
17:34:02 22758 Supercache Late Loader running on init
17:34:02 22758 wp_cache_get_cookies_values: return:
17:34:02 22758 supercache dir: ABSPATH/wp-content/cache/supercache/geriartriya.ru/
17:34:02 22758 wp_cache_get_cookies_values: return:
17:34:02 22758 Fetched static page data from supercache file using PHP. File: ABSPATH/wp-content/cache/supercache/geriartriya.ru/index-https.html
17:34:02 22758 wp_cache_serve_cache_file: checking age of cached vs served files.
17:34:02 22758 wp_cache_serve_cache_file: 304 browser caching not possible as timestamps differ.- This reply was modified 1 year, 6 months ago by hitty.
Forum: Plugins
In reply to: [Autoptimize] Wrong page shown on post requestSorry, the issue was with another plugin ))