Skip to content

[web]: Performance degrade when using HtmlElementView with CanvasKit renderer #86868

@nilesh-athghara

Description

@nilesh-athghara

Use Case: To display images on flutter web, which are sourced from multiple aggregators across the internet. These images do not have proper CORS policy headers and we do not have control over these servers.

To tackle this we have used HtmlElementView. But, it is degrading performance significantly.

We can not switch to Html renderer due to other requirements.
Also, setting up an intermediary server to reconfigure headers will shoot up infrastructure costs as we are targeting a huge audience.

Please suggest a suitable solution.

Metadata

Metadata

Labels

P1High-priority issues at the top of the work lista: platform-viewsEmbedding Android/iOS views in Flutter appsc: performanceRelates to speed or footprint issues (see "perf:" labels)e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webengineflutter/engine related. See also e: labels.found in release: 2.2Found to occur in 2.2found in release: 2.5Found to occur in 2.5has reproducible stepsThe issue has been confirmed reproducible and is ready to work onperf: speedPerformance issues related to (mostly rendering) speedplatform-webWeb applications specifically

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions