getgrav / getgrav/grav-plugin-login

Builtin Styles loaded even if not on login page

Open
#263 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
47
Forks
56
Avg merge
1h 14m
Merged PRs (30d)
1

Description

Dear all,

i noticed that the styles for this plugin (plugins/login/css/login.css) are loaded on every page while it should only be loaded on the actual login page where needed.

I know that it is really not much CSS, nevertheless we prefer to only load what is actually needed to improve our page performance. So is there already a setting or could this be improved?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by inspecting how plugins/login/css/login.css is registered and loaded across the plugin. Trace the page condition that distinguishes the login page from other pages, then verify that the stylesheet remains available on the login page but is absent elsewhere.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, php
Domain
authentication, performance
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.