nextcloud / nextcloud/server

Cleanup css to only include what is needed on public pages

Open
#20,752 1 comment 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.