Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_cache alternative?

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


dev002 at pas-world

Jul 1, 2009, 3:13 PM

Post #1 of 3 (286 views)
Permalink
mod_cache alternative?

Hello,
mod_cache is very bad for caching.
For some unknown reason (for me) it caches script (all request are
mod_rewrite in one php script) and not request URI response of server.

One requested URI should generate one server response, but mod_cache see
all as same php script (WRONG, I think that use internal server path and
script).


Anyone known method to avoid this problem, or alternative to mod_cache?
Another caching module?





--














--
--
Publicidad y Servicios http://www.pas-world.com
Directorio http://www.precioventa.com
Tienda http://informatica.precioventa.com/es/
Autoridad certificadora http://ca.precioventa.com/es/
--
--


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


aw at ice-sa

Jul 1, 2009, 3:26 PM

Post #2 of 3 (255 views)
Permalink
Re: mod_cache alternative? [In reply to]

Developer wrote:
> Hello,
> mod_cache is very bad for caching.

That's a bad way to start, if you really need help.
Read this first :
http://catb.org/esr/faqs/smart-questions.html

> For some unknown reason (for me)

that is probably more accurate

it caches script (all request are
> mod_rewrite in one php script) and not request URI response of server.

there is no such thing as a URI in the server response.

>
> One requested URI should generate one server response,

it does

but mod_cache see
> all as same php script

caching depends indeed (among other things) on the request URI


(WRONG, I think that use internal server path and
> script).

So far, I think the score is more like mod_cache 10 / Developer 0


>
>
> Anyone known method to avoid this problem,

study HTTP
read the documentation

or alternative to mod_cache?
> Another caching module?

Another Developer ?



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


j.zuckerman at gmail

Jul 1, 2009, 6:37 PM

Post #3 of 3 (255 views)
Permalink
Re: mod_cache alternative? [In reply to]

On Wed, Jul 1, 2009 at 3:26 PM, André Warnier<aw[at]ice-sa.com> wrote:
> Developer wrote:
>>
>> Hello,
>> mod_cache is very bad for caching.
>
> That's a bad way to start, if you really need help.
> Read this first :
> http://catb.org/esr/faqs/smart-questions.html
>
>> For some unknown reason (for me)
>
> that is probably more accurate
>
> it caches script (all request are
>>
>> mod_rewrite in one php script) and not request URI response of server.
>
> there is no such thing as a URI in the server response.
>
>>
>> One requested URI should generate one server response,
>
> it does
>
> but mod_cache see
>>
>> all as same php script
>
> caching depends indeed (among other things) on the request URI
>
>
> (WRONG, I think that use internal server path and
>>
>> script).
>
> So far, I think the score is more like mod_cache 10 / Developer 0
>
>
>>
>>
>> Anyone known method to avoid this problem,
>
> study HTTP
> read the documentation
>
> or alternative to mod_cache?
>>
>> Another caching module?
>
> Another Developer ?
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
>  "   from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>


BURN!

on a serious note though, there's lots of options to configure in mod_cache:
http://httpd.apache.org/docs/2.2/mod/mod_cache.html
if you really can't figure it out, most languages have some type of
templating engine with disk caching options, smarty for php and mako
for python are very good. They add a little overhead but you have
control to cache based on more than just the URL.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.