Skip to content
/ cdn Public

instance for create a node of content delivery network.

License

Notifications You must be signed in to change notification settings

Javlo/cdn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cdn

instance for create a node of content delivery network

module to be installed on a J2EE server (tomcat for example)

file structure

~/data/javlo_cdn : contains the cache of files.

The folder can be hot deleted to renew the cache.

~/etc/javlo_cdn : contains the definition of the hosts which can use the cdn/

a host is defined by a properties file:

#context#.properties: will be accessed by : ://#host of cdn#/#context#/#uri of resource#

example: javloorg.properties access: ://cdn.javlo.org/javloorg/img/image.png

the properties file contains at least the value url.target which gives the source url to use the cdn.

the value code.reset contains the code for release the cache of this host.

example:
url.target=https://www.javlo.org/
code.reset=qsdk12fjoi59dkk1

About

instance for create a node of content delivery network.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages