Re: [users@httpd] need help on improving apache server performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/24/05, Senthil Nathan <rsennat@xxxxxxxxx> wrote:
> hi joshua,
> right, it is /opt/hiweb/server/cgi-bin/higui
>
> and ok anyway cgi scripts running on the server.
> but i want the images to cached and the client has to be faster,
> in general. any request to the server has to be made properly
> and fetch the data from the server not from the cache.

Well, start  by fixing your config to use the correct <Directory> location.

But if you never want the cgi cached, then you shouldn't be putting
one-day-ahead expires headers on all html.  You should be using

<FilesMatch \.cgi$>
Header add Cache-Control no-cache
Header add Vary *
</FilesMatch>
or something like that.

As far as speeding up the CGI script, that is really a programming
question more than an apache config question.  Since we know nothing
about the program, we can't really help.  (Unless the problem is
simply the time taken to fork the process, in which case something
like fastcgi might help.)

Joshua.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux