diff options
-rw-r--r-- | .github/ISSUE_TEMPLATE/bridge-request.md | 4 | ||||
-rw-r--r-- | README.md | 5 | ||||
-rw-r--r-- | config.default.ini.php | 2 | ||||
-rw-r--r-- | lib/contents.php | 4 | ||||
-rw-r--r-- | templates/frontpage.html.php | 2 |
5 files changed, 7 insertions, 10 deletions
diff --git a/.github/ISSUE_TEMPLATE/bridge-request.md b/.github/ISSUE_TEMPLATE/bridge-request.md index 174dc095..088cc3d6 100644 --- a/.github/ISSUE_TEMPLATE/bridge-request.md +++ b/.github/ISSUE_TEMPLATE/bridge-request.md @@ -49,9 +49,9 @@ Please describe what you expect from the bridge. Whenever possible provide sampl - _Default limit_: 5 - [ ] Load full articles - _Cache articles_ (articles are stored in a local cache on first request): yes - - _Cache timeout_ (max = 24 hours): 24 hours + - _Cache timeout_ : 24 hours - [X] Balance requests (RSS-Bridge uses cached versions to reduce bandwith usage) - - _Timeout_ (default = 5 minutes, max = 24 hours): 5 minutes + - _Timeout_ (default = 5 minutes): 5 minutes <!--Be aware that some options might not be available for your specific request due to technical limitations!--> @@ -150,11 +150,11 @@ listen = /run/php/rss-bridge.sock listen.owner = www-data listen.group = www-data -# Create 10 workers standing by to serve requests +; Create 10 workers standing by to serve requests pm = static pm.max_children = 10 -# Respawn worker after 500 requests (workaround for memory leaks etc.) +; Respawn worker after 500 requests (workaround for memory leaks etc.) pm.max_requests = 500 ``` @@ -460,7 +460,6 @@ See [CONTRIBUTORS.md](CONTRIBUTORS.md) RSS-Bridge uses caching to prevent services from banning your server for repeatedly updating feeds. The specific cache duration can be different between bridges. -Cached files are deleted automatically after 24 hours. RSS-Bridge allows you to take full control over which bridges are displayed to the user. That way you can host your own RSS-Bridge service with your favorite collection of bridges! diff --git a/config.default.ini.php b/config.default.ini.php index 886878a2..6d646fd5 100644 --- a/config.default.ini.php +++ b/config.default.ini.php @@ -75,7 +75,7 @@ custom_timeout = false ; "" = Disabled (default) email = "" -; Advertise a contact Telegram url e.g. "https://t.me/elegantobjects" +; Advertise a contact URL (can be any URL!) e.g. "https://t.me/elegantobjects" telegram = "" ; Show Donation information for bridges if available. diff --git a/lib/contents.php b/lib/contents.php index 752c0ff2..b4d70817 100644 --- a/lib/contents.php +++ b/lib/contents.php @@ -177,11 +177,9 @@ function getSimpleHTMLDOM( } /** - * Gets contents from the Internet as simplhtmldom object. Contents are cached + * Fetch contents from the Internet as simplhtmldom object. Contents are cached * and re-used for subsequent calls until the cache duration elapsed. * - * _Notice_: Cached contents are forcefully removed after 24 hours (86400 seconds). - * * @param string $url The URL. * @param int $ttl Cache duration in seconds. * @param array $header (optional) A list of cURL header. diff --git a/templates/frontpage.html.php b/templates/frontpage.html.php index c1182673..f285e8d6 100644 --- a/templates/frontpage.html.php +++ b/templates/frontpage.html.php @@ -52,7 +52,7 @@ <?php if ($admin_telegram): ?> <div> - Telegram: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a> + Url: <a href="<?= e($admin_telegram) ?>"><?= e($admin_telegram) ?></a> </div> <?php endif; ?> |