FeatureFuel
1

Add concurrency protection for generated CSS writes when uploads use remote stream wrappers

Source: elementor/elementor#35790 · opened by @rajandangi
Describe the Problem Elementor currently writes generated CSS files directly to the uploads directory. On sites where wp-content/uploads is backed by a remote stream wrapper, such as S3, Cloudflare R2, or another object-storage offload plugin, concurrent requests can attempt to write the same generated CSS file at the same time. In our case, Elementor Core generates this file: uploads/elementor/design-system-sync/design-system-sync.css When several frontend/admin/REST requests trigger generation at the same time, the same object key can be written multiple times concurrently. This is problematic for object-storage providers. Cloudflare R2, for example, limits concurrent writes to the same object key and returns: Reduce your concurrent request rate for the same object. This causes PHP warnings like: Propose a Solution It would be helpful if Elementor added concurrency protection around generated CSS writes, especially for shared/generated files like: design-system-sy…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests