o-ba/fe-login-mode
Composer 安装命令:
composer require o-ba/fe-login-mode
包简介
Provides the frontend user login mode functionality for TYPO3
README 文档
README
The "frontend user login mode" functionality has been introduced to TYPO3 by Kasper back in 2004 to overcome caching issues on typo3.org and is rather an edge-case feature. Therefore, it is no longer part of the TYPO3 Core from v12.0+ onwards, but available as an extension, which solves the problem via modern techniques (using PSR-15 middlewares).
So what does it do?
The extension adds a new TCA field fe_login_mode to the pages table.
Using this field one can define branches, which should behave like if a user or user group is not logged in, even though the cookie - and the session - is kept for other areas of a website. This is useful when trying to reduce the amount of possible cache variants, especially in installations with complex user and user group setups.
As previously available in the Core, the TypoScript option
config.sendCacheHeaders_onlyWhenLoginDeniedInBranch can be used to
further restrict the transmission of cache headers.
Installation
In case you update a TYPO3 installation from v11 to v12, you can use the corresponding "Upgrade Wizard" in the TYPO3 install tool to fetch and install the extension.
Otherwise, install the extension either via composer
composer req o-ba/fe-login-mode or download the extension from the
TYPO3 Extension Repository
and activate it in the Extension Manager of your TYPO3 installation.
License
The extension is licensed under GPL v2+, same as the TYPO3 Core. For details see the LICENSE file in this repository.
Open Issues
If you find an issue, feel free to report it on GitHub. You can also directly create a pull request.
Credits
This extension was created by Oliver Bartsch in 2022. The original credits go to the TYPO3 development team and the contributors, who have maintained this code for over 18 years until it was removed from Core.
o-ba/fe-login-mode 适用场景与选型建议
o-ba/fe-login-mode 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 29.94k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2022 年 01 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 o-ba/fe-login-mode 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 o-ba/fe-login-mode 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 29.94k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 11
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2022-01-22