litespeedtech / litespeedtech/lscache_wp

LiteSpeed Cache not compatible with All in One SEO sitemap

Open
#372 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
257
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Hey everyone,

One of our users has reported an issue where LiteSpeed Cache is not able to parse the index of All in One SEO. We believe that this is partially because we use CDATA tags to escape the data in our sitemap, but even if we remove those, LiteSpeed Cache still isn't able to crawl the sitemap.

Another reason why this does not work is because you are using `SimpleXML` to parse the XML structure of the sitemap, then pass that into an `empty` check, which still results to `true` even if there is a valid value.

See these two links for more info about that -
https://ikriv.com/blog/?p=1856
https://try2explore.com/questions/10122221

The steps we've taken are:

1. Go to LiteSpeed Cache > Crawler > Sitemap Settings
2. Enter the Sitemap URL of All in One SEO in the Custom Sitemap field and Save Changes
3. Click on the Map tab, and then click on Clear Crawler Map
4. Refresh Crawler Map

@flschaves and I from the All in One SEO team would be more than happy to work with you on adding compatibility and figuring out a game plan to address this.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue through LiteSpeed Cache > Crawler > Sitemap Settings using an All in One SEO sitemap, then follow the Map tab steps to clear and refresh the crawler map. No source file or test is named; done means the sitemap is accepted and crawled successfully, including when it contains CDATA and valid empty-check values.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.