telcy
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gatewayEven without wpsc caching site is slow with Google tag gateway. So probably unrelated to wpsc and a general speed issue at Cloudflare, as it does inject scripts on their side.
Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gatewayFor Zaraz I was able to fix the speed issues by deactivating “Auto-inject script: Automatically inject the Zaraz Initialization script into the page” in Cloudflare’s Zara settings and including the script myself in WordPress.
<script src="/cdn-cgi/zaraz/i.js" referrerpolicy="origin"></script>For some reason speed slows down significantly when Cloudflare “auto injects” some script. I think I am not able to dig deeper here. Maybe someone from Cloudflare’s team has to get involved.
A minimal setup is:
1. wordops + wpsc installation + cloudflare proxy
2. observe site speed (disabled browser cache)
3. activate Zaraz with Google Analytics 4 in Cloudflare
4. observe site speed (disabled browser cache)Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gatewayIt seems I can reproduce this issue with tools like Zaraz (e.g. Google Analytics 4) from Cloudflare as well. This way it might be easier to set up a minimal example.
Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gateway11:57:10 61160 /ueber-uns/ wpsc_is_caching_user_disabled: false
11:57:10 61160 /ueber-uns/ ACCEPT: text/html
11:57:10 61160 /ueber-uns/ wp_cache_get_cookies_values: return:
11:57:10 61160 /ueber-uns/ supercache dir: /var/www/mywebsite.de/htdocs/wp-content/cache/supercache/mywebsite.de/ueber-uns/
11:57:10 61160 /ueber-uns/ No Super Cache file found for current URL: /var/www/mywebsite.de/htdocs/wp-content/cache/supercache/mywebsite.de/ueber-uns/index-https.html
11:57:10 61160 /ueber-uns/ wp_cache_get_cookies_values: return:
11:57:10 61160 /ueber-uns/ In WP Cache Phase 2
11:57:10 61160 /ueber-uns/ Setting up WordPress actions
11:57:10 61160 /ueber-uns/ Created output buffer
11:57:10 61160 /ueber-uns/ wp_cache_get_cookies_values: return:
11:57:10 61160 /ueber-uns/ wpcache_do_rebuild: doing rebuild for /var/www/mywebsite.de/htdocs/wp-content/cache/supercache/mywebsite.de/ueber-uns/
11:57:10 61160 /ueber-uns/ wpcache_do_rebuild: exiting as directory is not a directory: /var/www/mywebsite.de/htdocs/wp-content/cache/supercache/mywebsite.de/ueber-uns/
11:57:11 61160 /ueber-uns/ wpsc_is_caching_user_disabled: false
11:57:11 61160 /ueber-uns/ Output buffer callback
11:57:11 61160 /ueber-uns/ wp_cache_get_cookies_values: return:
11:57:11 61160 /ueber-uns/ Anonymous user detected. Only creating Supercache file.
11:57:11 61160 /ueber-uns/ wpsc_is_caching_user_disabled: false
11:57:11 61160 /ueber-uns/ wp_cache_get_cookies_values: return:
11:57:11 61160 /ueber-uns/ Writing non-gzipped buffer to supercache file.
11:57:11 61160 /ueber-uns/ Renamed temp supercache file to /var/www/mywebsite.de/htdocs/wp-content/cache/supercache/mywebsite.de/ueber-uns/index-https.html
11:57:11 61160 /ueber-uns/ Sending buffer to browser
11:57:11 61160 /ueber-uns/ wp_cache_shutdown_callback: collecting meta data.
11:57:11 61160 /ueber-uns/ Did not write meta file: meta-wp-cache-0fc6b7daeead6f314c1b49c0d4674f1c.php<!-- Dynamic page generated in 0.146 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2025-08-14 13:57:11 -->
<!-- super cache -->Cache looks fine to me.
Still the page/document response time increases from 200ms to 700ms+ when activating Google tag gateway (disabled browser cache).
- This reply was modified 9 months, 3 weeks ago by telcy.
Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gateway- I was not able to configure wordops to allow direct php access yet.
- Using Google site kit plugin caused the same issue.
- What I have observed:
Navigating between different pages (/page1, /page2, /page3), document loading time (browser cache disabled):
Without Google tag gateway: ~200ms
With Google tag gateway: 500 – 900msThat makes me think that there is actually an issue retrieving the document/page from the server/cache.
Here an example code for a tag gateway. Data will be routed through /ui34w instead of some Google endpoint.
<script type="text/javascript" async="" src="/ui35w/?id=AW-111222333&cx=c&gtm=45E92e283muct834hrg694za204&tag_exp=103465457~1032345026~10323454~1032353453527~1046456208~132456584211~1034537546766~105045668~10513471~10545663~10534568~105345610"></script>
<script async="" src="//www.googletagmanager.com/gtm.js?id=GTM-AO3456AEF"></script>
<script async="" src="/ui35w/"></script>Forum: Plugins
In reply to: [WP Super Cache] Caching breaks when using Google tag gatewayBecause of hardened security (Wordops), I was unable to access the log (403 error). I will have to modify my nginx settings later and try again.
I am using Google Tag Manager (https://ww.wp.xz.cn/plugins/duracelltomi-google-tag-manager/) with my Tag Manager’s container tag.
– Google Tag Manager ID: xxx
– Container code: ON
– Container code compatibility mode: OFFIn Google Tag Manager I then went to Admin > Google tag gateway and followed the setup to activate the gateway with my Cloudflare account.
Activating Google tag gateway makes the website become slower than usual. Looking into the cached list of files (in WP Super Cache), I can see cached files. Maybe not an issue with building the cache but rather the retrieval of pages.
I will also try to use Google Site Kit plugin instead and check if issues persists.I am facing the same issue. The log is showing “Unable to find wp-config.php” because it is located one level up.