Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: cache_socache_module |
|
Author |
|
denisa
Joined: 13 Apr 2015 Posts: 2
|
Posted: Tue 14 Apr '15 16:55 Post subject: cache_socache_module |
|
|
I haven't found many discussions on mod_cache_socache topic.
httpd.apache.org documentation for CacheSocacheReadSize directive (mod_cache_socache) says:
Quote: | "The CacheSocacheReadSize directive sets the minimum amount of data, in bytes, to be read from the backend before the data is sent to the client."
|
Whereas, enabled info_module explains it this way:
Quote: | "CacheSocacheReadSize - The maximum quantity of data to attempt to read and cache in one go."
|
I can set my mind to understand that words 'minimum' and 'maximum' in the definitions above don't contradict each other, but still, I would like to clear my doubts...
Let's stick with the example given in the official documentation:
Quote: | CacheSocacheReadSize 102400 |
...which is 100kB.
Could somebody analyse how would cached documents/assets of http response have been handled if their size is either smaller or greater than 100kB?
Let's say...
A style.css is 8.5kB and script.js is 115 kB.
Can I say that style.css is going to be sent to the client in 1 go,
whereas script.js is going to be sent in 2 goes (100 + 15, perhaps)?
What performance consequences we can get if we set this value to 0.
What performance consequences we can get if we set this value to 1B.
What performance consequences we can get if we set this value to 100B and if the biggest cached document is 64kB, average is 20kB.
Thanks ahead... |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
denisa
Joined: 13 Apr 2015 Posts: 2
|
Posted: Wed 15 Apr '15 16:46 Post subject: |
|
|
Cache provider is set to mod_socache_memcache:
CacheSocache memcache:127.0.0.1:11211 |
|
Back to top |
|
|
|
|
|
|