Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load CMS files if logged in #256

Open
notramo opened this issue Jan 9, 2023 · 1 comment
Open

Only load CMS files if logged in #256

notramo opened this issue Jan 9, 2023 · 1 comment

Comments

@notramo
Copy link

notramo commented Jan 9, 2023

CMS components slow down the loading of the page. Some users don't need CMS (e.g. small amount of content on page, and editing by hand), so it would make sense to add a config option to not render the CMS in production.

@jimafisk
Copy link
Member

jimafisk commented Jan 9, 2023

Similar to #199. This brings up a great point though, not only is it good to be able to completely remove the CMS if you don't want it on a production site, but also CMS related files should only load if you're logged in. I'll update the title of this so we keep track of both issues.

@jimafisk jimafisk changed the title Disable CMS in config Only load CMS files if logged in Jan 9, 2023
jimafisk added a commit that referenced this issue Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants