litespeedtech / litespeedtech/openlitespeed
wrong header set when loading pre compressed js or css files
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 233
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 5
Description
Joomla 5 delivers already compressed files, but openlitespeed does not set the headers as it should be.

/public_html/media/plg_system_guidedtours/js/guidedtours.min.js.gz
/public_html/media/plg_system_guidedtours/js/guidedtours.min.js
Openlitespeed reads the .gz and delivers the content without the needed header "Content-Encoding: gzip"
Changing the tuning settings does not help in any way.
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 by reproducing the response for /public_html/media/plg_system_guidedtours/js/guidedtours.min.js.gz and the matching .js file, then trace OpenLiteSpeed's static-file handling for pre-compressed assets. Verify the response headers, especially Content-Encoding: gzip; done means the compressed file is served with the needed header without relying on tuning settings.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100