partytown icon indicating copy to clipboard operation
partytown copied to clipboard

Infinite requests by Partytown

Open RigottiG opened this issue 2 years ago • 3 comments

I'm facing an issue, I'm using Partytown but Partyproxy is making a lot of requests on each page I visit.

I'm using Next so I don't have any configs for PartyTown , just put my script's strategy as worker

image

RigottiG avatar May 03 '22 14:05 RigottiG

hey @RigottiG - we've just created an issue template, could you update your issue here to provide all the information the template asks for? it'll help us look into your issue https://github.com/BuilderIO/partytown/issues/new?assignees=&labels=&template=bug_report.md&title=

pasting below to make things easier:


Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Reproduction link Please include a link to a Stackblitz or Codesandbox reproducing the issue. We will need to see the issue reproduced with hand-written code - we can't debug giant minified third party scripts directly. If you do not include a clean and simple reproduction of your issue, we won't be able to look into it until you do.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

steve8708 avatar May 28 '22 19:05 steve8708

+1 - Facing the same

SatadruBhattacharjee avatar Jun 20 '22 08:06 SatadruBhattacharjee

You are probably using partytown with the web worker (not atomics). In that case, I think the logs you are seeing are just the communication between the web worker and the main thread, through the service worker. As it uses XMLHttpRequest, they are logged by your network tab.

sylvain-a avatar Jul 08 '22 13:07 sylvain-a

Facing same issue here. Its been long since this has been opened. Any update pls @steve8708 ?

oumeirapp avatar Dec 29 '22 06:12 oumeirapp

+1

ChanelZM avatar Feb 02 '23 11:02 ChanelZM

You will see the answer here - https://partytown.builder.io/trade-offs. I had the same problem.

jackeverydayzero avatar Apr 16 '23 05:04 jackeverydayzero