maxjustus / luchador

Distributed HTTP caching for Nginx + Lua
MIT License
7 stars 1 forks source link

Don't pad entities below 4kb #6

Open maxjustus opened 10 years ago

maxjustus commented 10 years ago

Entities below 4kb in size shouldn't cause memory fragmentation, since they're below the nginx slab allocator page size on most architectures. Will need to do some testing to make sure it doesn't cause fragmentation.

maxjustus commented 10 years ago

Would also be good to not bother gzipping them.

maxjustus commented 10 years ago

the latest NGINX fixes the memory fragmentation issue, so this should no longer be needed.