denoland / denoland/deploy_feedback

[Bug]: Long build times for islands

Open
#661 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
79
Forks
5
PR merge metrics
No merged PRs in 30d

Description

### Problem description

I have a very small fresh app with a small island (724B) that handles form submissions, the js file for the island with not cached takes multiple seconds to be delivered (12-13s). This seemed to start occurring about a month ago. This seems to also be the same issue with the plugin-twind.js.

### Steps to reproduce

Wait for the cache to expire, load page, with island. Observe load times.

### Expected behavior

As the source hasn't changed and should be already compiled the file should be delivered in milliseconds.

### Environment

"$fresh/": "https://deno.land/x/fresh@1.6.8/"

### Possible solution

_No response_

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the fresh@1.6.8 app after the cache expires, following the reported load sequence for the island JavaScript and plugin-twind.js. Compare delivery times for unchanged compiled assets and determine what causes the multi-second delay; done means the regression is identified and the assets are delivered in milliseconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
deno
Domain
cloud, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.