Skip to main content

What is CSP?

Caché Server Pages (CSP) is a platform for developing and deploying dynamic Web applications. Here are the main components of the CSP platform:

  • Web Server — An application that processes HTTP requests from a client (typically a Web browser). It can be configured to forward requests for content to the CSP gateway. Caché supports a number of third-party Web servers, including Apache and Microsoft Internet Information Server (IIS).

  • CSP Gateway — A shared library or Dynamic Link Library (DLL) installed and loaded by the Web Server. The gateway can be configured to forward requests for content from the Web Server to a CSP server.

  • CSP Compiler — A set of Caché classes and programs located on the CSP Server. The compiler translates the CSP mark-up pages into Caché page classes and then compiles the page classes.

  • CSP Server — An application that processes CSP requests coming from the CSP gateway. Uses the CSP compiler to translate and compile CSP code. Instantiates the CSP class and then invokes its onPage method to generate the CSP content.

  • %CSP API — A package of classes that developers can use to code CSP classes. The package includes %CSP.PageOpens in a new tab, the superclass for all CSP classes.

  • CSP Mark-Up Language — A set of tags and directives that developers can mix with HTML mark-up to create CSP pages.


A standard Caché installation includes a Web server. By default, this Web Server uses the first available port number greater than or equal to 57772. To learn more about configuring this Web server and configuring other Web servers for use with Caché, read CSP Configuration in Using Caché Server Pages.

The Web Server and CSP Gateway must be on the same physical machine. However, the other components can either be on different machines or on the same machine.

FeedbackOpens in a new tab