OwnCDN
Edit this page

Did you notice something wrong or unclear, or want to add something more to this page?

You can edit the source text of this page on GitHub (click here to learn how).

After you submit your changes ("pull request"), we will review it and update the page.

We appreciate any contribution - big or small.

UI / Edit Service - Memory Cache

Use this page in the UI when creating / editing a Memory Cache service.

ID

The service ID. Must be unique for each service.

Used as the sid query parameter in HTTP API requests.

You can only edit this setting while creating a new service. After this it is locked forever.

Name

A descriptive name for the service.

Case-sensitive

When checked (case-sensitive), files/objects are stored under the exact path and query as provided when the item was uploaded/retrieved. Requests for a file/object must match the path and query exactly, including letter casing (uppper/lower case).

When NOT checked (not case-sensitive), files/objects are stored with the path (before ?) converted to lower case letters, while the query part (after ?) is kept as originally provided. The same if done for incoming requests, so that requests for file/object will match without regard to letter casing in the path (before ?), while the query part (after ?) still must match letter casing.

This also affects how files/objects are listed (for example, in the HTTP API "File list"). The files/objects paths are listed as stored (see above).

You can only set this option while creating a new service. After this it is locked forever.

Source

The service from which files should be provided.

Source path

If not blank, this will be prepended to the path requested from the source service (see above).

Only full path segments / "directories" (between two / characters) are allowed.

For example, if the incoming request is for http://example.com/images/products/laptop123.png and Path prefix (see above) is /images/ and this setting (Source path) is pictures/, the path requested from the source service will be pictures/products/laptop123.png. (/images/ is removed and pictures/ is prepended).

Refresh from source

How often OwnCDN should check with the source to see if the file has been updated (will check after this time has passed, and the file is requested again).

Expire not-found

When the source responds with "not found", return the same result without consulting the source again for this amount of time.

This is to avoid bombarding the source service with the same request over and over.

Expire errors

When the source responds with another error (not "not found"), return the same result without consulting the source again for this amount of time.

This is to avoid bombarding the source service with the same request over and over.

Expire unused

Remove a file from the cache if it has not been requested again for the specified amount of time.

A.k.a. "sliding expiration".

The expiration time of a file/object is reset each time it is requested. This ensures that frequently requested items are kept in the cache providing faster responses, while infrequently accessed items are removed, freeing up space.

Max. item size

The maximum size of individual items in the cache. Items larger than this will just be passed through and will not be stored in the cache.

Max. memory usage

The approximate maximum amount of memory / RAM that the service should use to store files.

When this limit is reached, the files that have not been requested the longest are evicted to make room for new files.

Update (button)

Click to save / update the information on the page. Changes are NOT saved until you click this button.

Delete service (button)

(when editing existing service)

Click this button to delete the service.

OwnCDN

  • Home
  • Product details

  • Features
  • Screen shots
  • Download

  • Download
  • Buy

  • Buy license
  • Support

  • Overview
  • Lost License Key
  • Knowledge Base
  • Online documentation
  • Contact us