Cleanup css to only include what is needed on public pages
Open
Nobody has claimed this yet.
1. to develop
enhancement
feature: sharing
performance 🚀
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
When using the PublicTemplateResponse
https://github.com/nextcloud/server/pull/20744
We don't need to ship 140kb of unneeded css.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the PublicTemplateResponse context linked in the issue and inspect how CSS is included on public pages. Identify which styles are needed there and verify that the unused CSS is no longer shipped, reducing the reported 140 kB payload.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, php
- Domain
- frontend, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100