litespeedtech / litespeedtech/lscache_wp
guest mode Exclusion of JS Not Working
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 257
- Forks
- 123
- PR merge metrics
- No merged PRs in 30d
Description
hello iam trying to exclude a specific javascript file from guest mode optimization as i can see that while guest mode on javascript files are combined in a file and they are are no longer executed because of this happens for search engine crawlers i have inspected it............... so problem is most part of my website are fetched through ajax
is there any way i can exclude specific javascript file from guest optimization only as i want them keep minified
tried below
data-no-defer="1"
removed guest mode ips and user agents
and the exclude js file from guest mode as well below is ss

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the guest mode optimization path and reproduce the search-engine-crawler case described, focusing on AJAX-loaded content and the generated data-src script tags. Check how the reported exclusion settings are applied; done means the specific JavaScript remains minified, is excluded from guest-mode handling, and executes for crawlers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, wordpress
- Domain
- performance, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100