Page 1 of 1

1 клик, в админке 2 клика

Posted: Tue Oct 08, 2024 10:06 pm
by darkover
Приветы. Вот не поделаешь сайты полгода, потом опять все вспоминать

Короче делаю новый сайт, делаю клик на морде через аут, а смарт пишет в админке 2 клика и прода 0

Вот рерайт на галерке самой
## content
rewrite ^/video(.*)/(.*)$ /scj/cgi/out.php?url=content&gallery_id=$1&dont_count_in_trade=true&p=100&$query_string last;

вот ссылка на морде /go.php?url=/video<!--GALLERY_ID-->/<!--GALLERY_SLUG--> (go.php - это out.php )

вот хедеры

Code: Select all


https://сайт.com/?id=trader1.com

открыли сайт - в стате появился 1 IN

#RESPONSE
Request ID: 664
Type: main_frame
Time: Wed Oct 09 2024 00:45:18 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/?id=trader1.com
Status: 200 - OK

cache-cookie-get-count_visits: empty
cache-cookie-get-force_lng: empty
cache-cookie-get-from: madasiantube.com
cache-cookie-get-idcheck: 1728418993
cache-cookie-get-index_page: 1
cache-cookie-get-lfrom: madasiantube.com
cache-cookie-get-skip_mobile_templates: empty
cache-cookie-get-skip_rotation: empty
cache-cookie-get-vs_spon: empty
cache-cookie-set-from: trader1.com
cache-cookie-set-idcheck: 1728423822
cache-cookie-set-index_page: 1
cache-cookie-set-lfrom: trader1.com
cache-cookie-set-lp: /?id=trader1.com
cf-cache-status: DYNAMIC
cf-ray: 8cf94edbce1fdbdf-FRA
click-count-action-start: res count 5
click-count-error: magic:1  no gal: skip_cookie:  get_skip: ..
content-encoding: br
content-type: text/html; charset=UTF-8
count-hit: done
count-hit-done: write to file
date: Tue, 08 Oct 2024 21:43:43 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=e9RPxSsOvBCNZGoqMgO7ykCoqa3ZUQDuMtfsPIcxhHvikK2ACQzQlrCixjwF8YMEamqCn%2FznNMWIwy7jY5MxyeAZYhj3WYi1ZnhvWVI6Nx0VnaIHY99CN1Ftr6DQeyLS24%2BOnlbI"}],"group":"cf-nel","max_age":604800}
server: cloudflare
speculation-rules: "/cdn-cgi/speculation"
tube-get-contents: ok
tube-got-eval: Ok
tube-got-results: Ok start
tube-return: done
update-views: 579057453
vary: Accept-Encoding
write-views: 579057453

Жамкнули https://сайт.com/?order=date - сортировать по дате 

#REQUEST
Request ID: 730
Type: other
Time: Wed Oct 09 2024 00:49:28 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/?order=date

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Purpose: prefetch
Sec-Purpose: prefetch
Upgrade-Insecure-Requests: 1
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

#RESPONSE
Request ID: 730
Type: other
Time: Wed Oct 09 2024 00:49:49 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/?order=date
Status: 503 - Service Unavailable

cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
cf-ray: 8cf953d37f369106-FRA
cf-speculation-refused: prefetch refused: not eligible
content-length: 0
date: Tue, 08 Oct 2024 21:47:06 GMT
expires: Thu, 01 Jan 1970 00:00:01 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
referrer-policy: same-origin
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=K433tPPWkDzV6xWdY1UR9S0I0BM1B1kfd%2Bt4ZQbIum58Xqj99lUP%2BWU2RVmI128WGQ3Hm4IJenUkfI%2BTzmtAu0xYwums1NmLxX0Sh5w%2FNh0NjYjzl77kPYo%2FJ471K541eUNbKx0g"}],"group":"cf-nel","max_age":604800}
server: cloudflare
speculation-rules: "/cdn-cgi/speculation"
x-frame-options: SAMEORIGIN

#REQUEST
Request ID: 731
Type: main_frame
Time: Wed Oct 09 2024 00:50:18 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/?order=date

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

#RESPONSE
Request ID: 731
Type: main_frame
Time: Wed Oct 09 2024 00:50:40 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/?order=date
Status: 200 - OK

cache-cookie-get-force_lng: empty
cache-cookie-get-from: trader1.com
cache-cookie-get-idcheck: 1728423822
cache-cookie-get-index_page: 1
cache-cookie-get-lfrom: trader1.com
cache-cookie-get-skip_mobile_templates: empty
cache-cookie-get-skip_rotation: empty
cache-cookie-get-vs_spon: empty
cache-cookie-set-index_page: 1
cf-cache-status: DYNAMIC
cf-ray: 8cf953d779a69106-FRA
click-count-action-start: res count 5
content-encoding: br
content-type: text/html; charset=UTF-8
count-click-attempt: 1.1.1.1 from https://сайт.com/?id=trader1.com
count-click-cache: ok
count-click-fail: no anchor data
count-hit: done
count-hit-skip: local link
date: Tue, 08 Oct 2024 21:47:06 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=TiC%2FleqvQXxMq%2BCJq2hjm1i27EQu2yLhnoVBAr7UvhvhC18RIcCQ8T6HBd0F%2FLp1a9iDKCW2Wa8tDBxMqADlMbk7iLJMo5akhEojNiriD%2BDlzGlG5185MUGp4NmH7ftaDVZRHxby"}],"group":"cf-nel","max_age":604800}
server: cloudflare
speculation-rules: "/cdn-cgi/speculation"
tube-get-contents: ok
tube-got-eval: Ok
tube-got-results: Ok start
tube-return: done
update-views: 1364987936
vary: Accept-Encoding
write-views: 1364987936

Жамкаем ссылку на галеру через аут  https://сайт.com/go.php?url=/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese

#REQUEST
Request ID: 802
Type: other
Time: Wed Oct 09 2024 00:53:01 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/go.php?url=/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Purpose: prefetch
Sec-Purpose: prefetch
Upgrade-Insecure-Requests: 1
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

#RESPONSE
Request ID: 802
Type: other
Time: Wed Oct 09 2024 00:53:13 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/go.php?url=/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
Status: 503 - Service Unavailable

cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
cf-ray: 8cf95bb45c482bc9-FRA
cf-speculation-refused: prefetch refused: not eligible
content-length: 0
date: Tue, 08 Oct 2024 21:52:28 GMT
expires: Thu, 01 Jan 1970 00:00:01 GMT
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
referrer-policy: same-origin
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=R03zKy2y8AiiLJYywAWIVBzG9hlNhDBhSL1FAT%2BJx%2F%2FENnukrjWzjd891VvGJ05fiCOdrRL98ZkS61Joq%2FdzKe%2BsanevWoRHBJC3RIIRkl9i9SPKJKByq%2BSO9QRElnyUsfqnySHL"}],"group":"cf-nel","max_age":604800}
server: cloudflare
speculation-rules: "/cdn-cgi/speculation"
x-frame-options: SAMEORIGIN

#REQUEST
Request ID: 803
Type: main_frame
Time: Wed Oct 09 2024 00:53:27 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/go.php?url=/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"

#RESPONSE
Request ID: 803
Type: main_frame
Time: Wed Oct 09 2024 00:53:37 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/go.php?url=/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
Status: 302 - Found

add-click: started
alt-svc: h3=":443"; ma=86400
cache-cookie-get-force_lng: empty
cache-cookie-get-idcheck: 1728423822
cache-cookie-get-last_dest: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
cache-cookie-get-page_track: empty
cache-cookie-get-skip_mobile_templates: empty
cache-cookie-get-skip_rotation: empty
cache-cookie-get-to: |url|26584|url|url|26584|url|url|27100|url|url|27059|url|url|26266|url|url|27207|url|url|26983|url|url|27204|26584|26584|url|url|27200|url|url|url
cache-cookie-set-last_dest: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
cache-cookie-set-last_url: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
cache-cookie-set-to: |url|26584|url|url|26584|url|url|27100|url|url|27059|url|url|26266|url|url|27207|url|url|26983|url|url|27204|26584|26584|url|url|27200|url|url|url|url
cf-cache-status: DYNAMIC
cf-ray: 8cf95bb50ccf2bc9-FRA
click-count-action-start: res count 4
click-count-error: https://сайт.com/?order=date magic:1  no gal:1 skip_cookie:  get_skip: ..
content-type: text/html; charset=UTF-8
date: Tue, 08 Oct 2024 21:52:29 GMT
last-key: default skimming (tube_personal_skimming = )
load-tube: to get params
load-tube: done
location: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
pre-location: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
redirect-to-location: to content
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=cXX8oe3kcVlorEpNrYYlqtImBEbxYYhjkUJzVxn5rVEx9wFn8vijy%2F8pz7uEDdtCvWwpONMUWjHFij2XY5VMx18iGN%2BP3cf5FNO6hkmI%2BnfxlLMdowbhMFI3iZVezHPuLLlEgrAh"}],"group":"cf-nel","max_age":604800}
script-location: url
script-select: result
server: cloudflare
skip-dbl-click: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
speculation-rules: "/cdn-cgi/speculation"
traffic-sell-x: check trader1.com sell_skim = 0
tube-action: return result
url-redirect: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese at 100 % ( rand 52)
write-hits: done
x-current-trader: trader1.com
x-set-skim: 100 ()
x-trader: trader1.com

#REQUEST
Request ID: 803
Type: main_frame
Time: Wed Oct 09 2024 00:54:01 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
sec-ch-ua: "Google Chrome";v="129", "Not=A?Brand";v="8", "Chromium";v="129"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"


#RESPONSE
Request ID: 803
Type: main_frame
Time: Wed Oct 09 2024 00:54:15 GMT+0300 (Москва, стандартное время)
Method: GET https://сайт.com/video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
Status: 200 - OK

add-click: started
cache-cookie-get-force_lng: empty
cache-cookie-get-idcheck: 1728423822
cache-cookie-get-last_dest: /video26684/revamped-haruka-miura-s-super-fucking-hot-japanese
cache-cookie-get-page_track: empty
cache-cookie-get-skip_mobile_templates: empty
cache-cookie-get-skip_rotation: empty
cache-cookie-get-to: |url|26584|url|url|26584|url|url|27100|url|url|27059|url|url|26266|url|url|27207|url|url|26983|url|url|27204|26584|26584|url|url|27200|url|url|url|url
cache-cookie-set-last_dest: 26684
cache-cookie-set-last_url: content
cache-cookie-set-to: |url|26584|url|url|26584|url|url|27100|url|url|27059|url|url|26266|url|url|27207|url|url|26983|url|url|27204|26584|26584|url|url|27200|url|url|url|url|26684
cf-cache-status: DYNAMIC
cf-ray: 8cf95bb5ad4d2bc9-FRA
click-count: 79x38x50541
click-count-action-start: res count 8
content-encoding: br
content-type: text/html; charset=UTF-8
count-click-attempt: 1.1.1.1 from https://сайт.com/?order=date
count-click-cache: ok
date: Tue, 08 Oct 2024 21:52:29 GMT
last-key: default skimming (GET_p = 100)
load-tube: to get params
load-tube: done
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
pre-location: scj_custom_content
redirect-to-location: to content
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=jRZzYkgeblBt13mq%2BRdFQDpAdoPBxiJ17FwMBEPOyHO9LhJ1bJv%2F6A22SkLJw4aFNHATj4K0J%2BI5%2B5gqMIWTH7Y3GUZW%2Fuw668gWy8EIqY6FKZpNLXeiXPpRc5%2Fn9%2BUy3tHPi9ed"}],"group":"cf-nel","max_age":604800}
script-location: url
script-select: result
server: cloudflare
speculation-rules: "/cdn-cgi/speculation"
traffic-sell-x: check trader1.com sell_skim = 0
tube-get-contents: ok
tube-got-eval: Ok
tube-got-results: Ok start
tube-return: done
update-views: 43291403 26684
url-redirect: content at 100 % ( rand 25)
vary: Accept-Encoding
write-hits: done
write-views: 43291403
x-current-trader: trader1.com
x-set-skim: 100 ()
x-trader: trader1.com

И получаем не один клик а два в админке 




Re: 1 клик, в админке 2 клика

Posted: Wed Oct 09, 2024 4:52 am
by admin
Приветствую!

как я вижу из лога этого то там 2 клика, просто один из них 503, но видимо который скриптом все же засчитан

Жамкаем ссылку на галеру через аут https://сайт.com/go.php?url=/video26684 ... t-japanese

#REQUEST
Request ID: 802
Method: GET https://сайт.com/go.php?url=/video26684 ... t-japanese

#RESPONSE
Request ID: 802
Status: 503 - Service Unavailable

cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0


#REQUEST
Request ID: 803
Method: GET https://сайт.com/go.php?url=/video26684 ... t-japanese

#RESPONSE
Request ID: 803
Status: 302 - Found

Re: 1 клик, в админке 2 клика

Posted: Wed Oct 09, 2024 10:26 am
by darkover
admin wrote: Wed Oct 09, 2024 4:52 am Приветствую!

как я вижу из лога этого то там 2 клика, просто один из них 503, но видимо который скриптом все же засчитан

Жамкаем ссылку на галеру через аут https://сайт.com/go.php?url=/video26684 ... t-japanese

#REQUEST
Request ID: 802
Method: GET https://сайт.com/go.php?url=/video26684 ... t-japanese

#RESPONSE
Request ID: 802
Status: 503 - Service Unavailable

cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0


#REQUEST
Request ID: 803
Method: GET https://сайт.com/go.php?url=/video26684 ... t-japanese

#RESPONSE
Request ID: 803
Status: 302 - Found
Да я подразобрался, cloudflare новую фичу ввели в конце сентября https://developers.cloudflare.com/speed ... eed-brain/

Re: 1 клик, в админке 2 клика

Posted: Wed Oct 09, 2024 3:13 pm
by admin
интересно! хорошо что разобрали, думаю сейчас больше такого станет

Re: 1 клик, в админке 2 клика

Posted: Thu Oct 10, 2024 7:46 am
by Andrew1
Тоже заметил, что в последнее время прода на сайтах сильно повысилась, а на количестве траффика это практически не отразилось.
2 darkover - спасибо, что нашел причину :)

А есть возможность научить смарт не учитывать эти prefetch клики от CF? Так-то вроде полезная опция, обещают, что на pagespeed в лучшую сторону повлияет.

Re: 1 клик, в админке 2 клика

Posted: Thu Oct 10, 2024 9:46 am
by darkover
Andrew1 wrote: Thu Oct 10, 2024 7:46 am Тоже заметил, что в последнее время прода на сайтах сильно повысилась, а на количестве траффика это практически не отразилось.
2 darkover - спасибо, что нашел причину :)

А есть возможность научить смарт не учитывать эти prefetch клики от CF? Так-то вроде полезная опция, обещают, что на pagespeed в лучшую сторону повлияет.
Согласен, было бы не плохо! )
Еще бы научить смарт управлять Nginx FastCGI Cache с подсчетом кликов и тд и тп ... )

Re: 1 клик, в админке 2 клика

Posted: Sat Oct 12, 2024 6:54 pm
by Ling
https://t.me/AWMTech/14169
Спасибо, Бро, что разобрался!!!
---------------
Считай , не считай , а заходы на out.php 2-3 c одного хита идут и нагрузку двойную-тройную создают
---------
Проще отключить эту опцию на КФ, чтоб не дергать out.php этими прелоад заходами
----------
Я отключил - прода упала с 1000 до 350
ЛА - в 3 раза минус

Re: 1 клик, в админке 2 клика

Posted: Tue Oct 15, 2024 9:43 am
by admin
у кого включено можно попроверить шлет ли какие-то экстра хедеры что б можно было понять это запрос клауды или реального юзера