Chapter 10, Configuring the Server for Performance
251
File Cache in Enterprise Server 4.0
The file listing includes the file name, a set of flags, the current number of
references to the cache entry, the size of the file, and an internal file ID value.
The flags are as follows:
•
C - File contents are cached.
•
D - Cache entry is marked for delete.
•
E -
PR_GetFileInfo()
returned an error for this file.
•
I - File information (size, modify date, etc.) is cached.
•
M - File contents are mapped into virtual memory.
•
P - File has associated private data (should appear on
shtml
files).
•
W - Cache entry is locked for write access.
A query string can be included when the “
/nsfc
” URI is accessed. The
following values are recognized:
•
?
refresh=
n
- Causes the client to reload the page every
n
seconds.
•
?restart
- Causes the cache to be shut down and then started.
•
?start
- Starts the cache.
•
?stop
- Shuts down the cache.
For sites with scheduled updates to content, consider shutting down the cache
while the content is being updated, and starting it again after the update is
complete. Although performance will slow down, the server operates normally
when the cache is off.
Cache-init
The
cache-init
function controls file caching. The server caches files to
improve performance. To optimize server speed, you should have enough RAM
for the server and cache because swapping can be slow. Do not allocate a
cache that is greater in size than the amount of memory on the system.
Note
In Enterprise Server 4.0, much of the functionality of the file cache is controlled
by a new configuration file called
nsfc.conf
.
Содержание Netscape Enterprise Server
Страница 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Страница 31: ...Part 1 Server Basics 31 1 Server Basics Introduction to Enterprise Server Administering Enterprise Servers ...
Страница 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Страница 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Страница 64: ...Migrating a Server From a Previous Version 64 Netscape Enterprise Server Administrator s Guide ...
Страница 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Страница 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Страница 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Страница 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Страница 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Страница 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Страница 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Страница 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Страница 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Страница 390: ...Customizing the Web Publisher User Interface 390 Netscape Enterprise Server Administrator s Guide ...
Страница 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Страница 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Страница 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Страница 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Страница 504: ...504 Netscape Enterprise Server Administrator s Guide ...