Lynx
Lynx
Explore posts from servers
NNuxt
Created by Just Simeon on 10/17/2024 in #❓・help
Expose endpoints only internally
I would like to learn what methods can be used to prevent web scraping as well. I know by nature nuxt need to expose api endpoints for spa navigation. I read somewhere one can check TLS fingerprint but it confused me a lot. So eventually it became a decision for me to use Nuxt with better UX, or full SSR website.
2 replies
NNuxt
Created by Omnislash on 10/17/2024 in #❓・help
Hydration loading
Did you try useLazyAsyncData with server:false and display loading depending on status? It should be on the doc
3 replies
CDCloudflare Developers
Created by Lynx on 9/27/2023 in #general-help
How does Cache Purge API works?
Thanks for help, it was just like i said before. Cloudflare storing caches based on the Origin request header, so if you have an API service, you need purge it on consumer domains as well by specifically adding the origins to request.
6 replies
CDCloudflare Developers
Created by Lynx on 9/27/2023 in #general-help
How does Cache Purge API works?
No description
6 replies
CDCloudflare Developers
Created by Lynx on 9/27/2023 in #general-help
How does Cache Purge API works?
i guess nobody knows this mystery
6 replies
CDCloudflare Developers
Created by Kairi52474 on 9/18/2023 in #general-help
Cloudflare error code 520 for a month now
@Kairi52474 It is probably because of the Cookie Limits, you likely exceeded the limits of either pm2, nginx or cloudflare you can try to add the snippets right below to configuration files: for nginx:
http2_max_header_size 32k;
http2_max_field_size 16k;
http2_max_header_size 32k;
http2_max_field_size 16k;
for pm2:
"node_args": "--max-http-header-size=256000",
"node_args": "--max-http-header-size=256000",
for cf you shouldn't exceed the 16kb or 8kb, not sure what was the limit, cookie size in total. As far i know you can increase this limit by purchasing enterprise plan of the cloudflare.
2 replies