openresty / openresty/srcache-nginx-module
Save gzip and normal version
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 486
- Forks
- 101
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 2
Description
Hi!
FIrst of all, really GREAT work. Im using it with our js/css packer and it is working really great cause the URLs are hashed so I can store the requests on memcached forever and all automatically. With just memc module i was having to write the assets to memcached in the application backend and i did not like it.
In your TODO it is written Gzip. So i would like to see if it checks with what i would like:
Now im using Nginx Gzip Module to gzip css/js/html on the fly, after it comes from srcache or backend. If srcache could save a gzip version of the content it could be served directlly. What doesnt go in srcache would still be gzipped on the fly.
Not that it is necessary to save a not gzipped version to save IE6. You could even read the gzip_disable var.
Is that the way you are thinking?
Thx and keep the great work!
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 reading the gzip item in the project's TODO and the srcache-nginx-module behavior described in this issue. Compare the requested cached gzip and normal representations with Nginx's gzip module and gzip_disable setting. Done should be defined as an agreed implementation and tests for serving the appropriate cached representation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, nginx
- Domain
- backend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100