Skip to content

Network Request for p5.js for each compilation #1245

@ashu8912

Description

@ashu8912
  • Found a bug
    if we compile our code in the web editor for each compilation the p5 libraries are re-requested which is an unideal behaviour generally once these lib files are downloaded they shouldn't be fetched again for each compilation.

  • Steps to reproduce this bug:

  1. Take any sketch and then open the network tab.
  2. Now press the play button to compile the code.
  3. For each compile, the p5.js and other libs are refetched.

After One Press.
Screenshot 2020-01-22 at 12 47 32 AM
After Second Press
Screenshot 2020-01-22 at 12 47 41 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions