hughforsyth
Forum Replies Created
-
Just to add another voice, I also have this issue.
Searching by “containing words”, “log level”, and “message type” all seem to work okay but “Users” is ignored. It is also ignore if used with one of the other criteria.
It’s looking up the user okay and from looking in developer tools it is passing the user ID in a request but it seems that the server code is ignoring the “users” parameter.
Thank, I guess it’s just me then.
It’s going to take me a few days to work through the list but for now I can work around it by temporarily deactivating WP Super Cache to view the “See how the file has changed” links in WordFence.
> – Try to disable other plugins installed (except Wordfence and WP Super Cache).
I’ll try this at the weekend when traffic is lighter.> – Try to switch back to the default WordPress theme -temporarily- and re-check this issue.
I have tried that with “TwentyFifteen” and “TwentyFourteen” and it still happened.> – Revert “.htaccess” to the default one. “make sure to create a backup of this file first”.
I’ll try this at the weekend when traffic is lighter.> – Do you have this installation in a sub-directory?
No it is not in a subdirectory.Thanks.
Thanks Chris. Deployed and initial tests show we are now getting events for mailto links.
Thanks again.
Thanks. Sorry for being horrifically pedantic, but “later today” in what time zone?
I’m in the UK and 3pm San Francisco time is 11pm here so “later today San Fransisco time” would mean “check again tomorrow” in the UK. On the other hand, “later today GMT/UTC” would likely mean “check late afternoon” in the UK.
Thanks again.
Hi Chris,
Do you have a revised approximate release date? I assume I’m waiting for v6.05 but do you know if it is now going to be days or weeks or months?
I’ve been checking a few times a day as initially you’d indicated it should be out in 24 hours or so but it appears that was optimistic.
Thanks
Thanks, that’s brilliant. I’ll test it when it’s released.
Hi,
I’m using JS. I switched after updating so don’t know if v6 PHP would have worked as I didn’t realise you couldn’t switch back.
http://www.unitedworldschools.org/contact-us/ is an example.
To test I’ve been:
– Open page in Chrome
– Open developer Tools -> Network
– Add filter for “analytics”. This should reduce noise and show https://www.google-analytics.com/ type URLs
– Click on “Newsletter Archive” link and see it send an event (outbound-article).
– Click on the email address but not see an event.Thanks
- This reply was modified 9 years, 3 months ago by hughforsyth.
Thanks. That’s much sooner than I was expecting.
Forum: Plugins
In reply to: [W3 Total Cache] Tips for use cache for request with query stringHi @nigrosimone,
As an FYI, I tried this with gclid and it’s definitely in the right ball park. One thing I have noticed is that for me a gclid URL will not populate the W3TC cache, only a “naked” URL will populate the cache.
This means that if most of the hits on a page have a gclid, e.g., you’ve created a landing page just for Adwords, then they will still likely not be cached unless you can prime it regularly with the “naked” URL.
e.g., if I have the following then the first “naked” URL will create a W3TC cache file that will be used by the 3 gclid URLs.
http://example.com/banana/
http://example.com/banana/?gclid=apple
http://example.com/banana/?gclid=plum
http://example.com/banana/?gclid=pearIf I just did the following then all 3 would miss as none will not populate the cache for the next requests.
http://example.com/banana/?gclid=apple
http://example.com/banana/?gclid=plum
http://example.com/banana/?gclid=pearUnless I’ve missed something, I think for this to work reliably it needs to be built into core plugin code, i.e., as well as ignoring the gclid parameter when comparing requests to cache files, also ignore it when writing out cache file, e.g., if I request http://example.com/banana/?gclid=apple then cache that as “wp-content/cache/page_enhanced/example.com/banana/_index.html” in the file system.
FWIW,
– wp-rocket (paid) claims to ignore gclid when comparing requests with cached content so that’s perhaps an option (listed in V2.55 https://wp-rocket.me/changelog/)
– Comet Cache also has this on the road map (https://ww.wp.xz.cn/support/topic/ga-analytics-linkid-js/#post-8260363). I’m hoping that will be available in the free version when they get around to it.
– There might be a patch/hack for wp-supercache to do this too although the link is 4 years old so perhaps not. https://ww.wp.xz.cn/support/topic/plugin-wp-super-cache-google-adwords-gclid-parameter-conflicting-with-caching/It may be that if you do a lot of adwords or tracking W3TC is not the best fit. I’m reluctantly coming to that conclusion. 8/10 of my (human) requests for pages come from Adwords so W3TC is likely only caching 2/10 pages. I assume it does much better with requests from search engines and so on but still. It may be more of an overhead than a benefit for me.
Thanks
HughThanks Chris. Is there a rough estimate of when 6.0 will be released (community/free version with filter)? Even if it’s very very rough it would be helpful to know if you are aiming for this year or Q2 2017 or whatever.
Thanks again,
HughForum: Plugins
In reply to: [ZenCache] _cron_zencache_cleanup cron still running after removing ZencacheThanks Raam, WP Crontol has worked okay.
Forum: Plugins
In reply to: [W3 Total Cache] disabled (query not cacheable) why?Similarly Google Adwords adds query strings for tracking so if you are not caching these then you will be giving a slower experience to the people you’ve actually paid money to get to your site. One site I look after gets 80% of its traffic from Adwords (URLS with a query string). It does not make sense to serve content more slowly to the people they paid to acquire.
Just to clarify something in my previous comment. If you are using auto tagging in Adwords this will effectively add a cache busting “gclid” query string to every link. In this case you are pretty much guaranteed a cache miss and page rebuild so query string caching may not add much and could even be detrimental.
OTOH, if you are manually tagging campaigns in Adwords with UTM parameters then you may get a beneficial hit rate as there will be more repeated query strings.
Forum: Plugins
In reply to: [W3 Total Cache] Page Cache automatically clears every 60 minutesHi Kimberly,
I’m not Tim but I’ve found that the “Expires header lifetime” value is [probably] honoured with “disk: enhanced” mode but is ignored with “disk: basic” mode.
I was using basic and noted that ‘public_html/wp-content/cache/page” rarely contained a file/directory more than and hour or 2 old and regularly cleaned itself out. I guess that would make sense if it was using a “stealth” setting of 3600s from pgcache.lifetime.
I switched to “disk enhanced” and “public_html/wp-content/cache/page_enhanced” had files 6 hours old before I switched back to basic (which I did to cache URLs with query strings). So that did seem to be honouring the 24 hour TTL.
Selected values from my config export:
“pgcache.enabled”: “1”,
“pgcache.comment_cookie_ttl”: “1800”,
“pgcache.engine”: “file”,
“pgcache.file.gc”: “3600”,
“pgcache.lifetime”: 3600,
“browsercache.html.lifetime”: “86400”,I might try the “editing exported config file” workaround but it’s unfortunate that it seems to be inconsistent with cache TTLs dependent on method, and the on screen documentation is inaccurate.
For now I’ve just set GC to 24 hours.
Thanks.
Forum: Plugins
In reply to: [W3 Total Cache] disabled (query not cacheable) why?> I wouldn’t worry about caching those query string variable’s anyways.
@destac strictly speaking it depends on the site and the percentage of page impressions containing a query string. If 90% of your traffic contains query strings then it is likely important to cache that content, especially if that traffic happens to be your high value/paid for traffic.
Even if your permalink structure does not contain query strings, people/systems often use query strings for campaign tracking adding things like “?utm_source=twitter&utm_medium=social&utm_campaign=test-campaign” to shared URLs. WordPress will ignore these but they will be read by Google Analytics or other products. I do that when sharing things on social media so I can use Google Analytics to see what visitors from Twitter did. If I’m not caching URLs with query strings then I’m ensuring visitors clicking on a link in Twitter get a slower experience and use more server resources than visitors clicking the link elsewhere without a query string. If something happens to do well (“go viral”) then that could be the majority of traffic for a day not being cached.
Similarly Google Adwords adds query strings for tracking so if you are not caching these then you will be giving a slower experience to the people you’ve actually paid money to get to your site. One site I look after gets 80% of its traffic from Adwords (URLS with a query string). It does not make sense to serve content more slowly to the people they paid to acquire.
So yes, sometimes caching content with query strings does matter and sometimes it matters a lot.
Thanks Matt. It went okay for me and does not seem to have caused any issues.