typecho / typecho/typecho

typecho 1.2.1 版本发布带超链接的文章提交速度变慢

Open
#1,855 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PHP
Stars
12.4k
Forks
2.1k
PR merge metrics
No merged PRs in 30d

Description

描述这个 Bug

typecho 1.2.1 版本编辑文章只要加入超链接网址发布文章速度会很慢,感觉是系统在发布文章时会把文章中的链接加载一遍似的,typecho 1.1 版本则没有这个问题,如果把超链接前缀”https://“去掉的话,typecho 1.2.1 编辑文章发布则正常不会变慢。我在本地和云服务器上都发现这样的问题。

复现方式

复现的步骤:

  1. 进入typecho后台,新增文章
  2. 在文章中添加超链接网址
  3. 发布文章
  4. 不正常的发布速度
期望的结果

这是新版本正常的功能吗?如果不是,修改哪里可以改善发布的速度,虽说就多等一会没啥重要影响,习惯了typecho流畅的速度忍受不了变慢>﹏<

截图

typecho 1.2.1 文章带超链接
Image

typecho 1.2.1 文章不带"https://"前缀
Image

typecho 1.1
Image

平台
  • 操作系统版本:
  • Apache/Nginx 版本:Nginx 1.26.2
  • 数据库版本:MySQL 5.7.44
  • PHP 版本:PHP 7.4.33
  • Typecho 版本:1.2.1
  • 浏览器版本:Chromium122

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 reproducing the slowdown from the Typecho 1.2.1 admin new-article publishing flow with an https:// link, then compare it with Typecho 1.1 and a link without that prefix. Review the publishing and link-handling paths using the reported PHP, MySQL, and Nginx environment. Done means identifying the regression and restoring normal publishing speed without changing link behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, nginx, php
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.