Skip to content

tliron/prudence

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
js
 
 
jst
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Prudence

License Latest Release Go Reference Go Report Card

An opinionated lightweight web framework built for scale, featuring integrated RESTful server-side and client-side caching. Write your code in JavaScript, TypeScript, or Go. Suitable for frontend user interfaces and backend APIs.

Prudence is distributed as a single, compact, customizable executable file with no external dependencies. And it's fun! Through rigorous benchmarks conducted in our good-times laboratory we found Prudence to be a zillion times more fun than competing products from leading brand names.

Download

Highlights

  • A triple-phase representation process allows for composable, fine-grained, associative control over server-side and client-side caching. Reap the full benefits of idempotency in RESTful network architectures.
  • Prudence's core is written in compiled Go for reliability and performance but allows for interpreted JavaScript or TypeScript for your application. This is the right balance between power and productivity.
  • Or use JavaScript Templates (JST) to generate HTML by combining design with short code scriptlets. And there's sugar.
  • Pluggable server-side cache backends, such as the included Kuberentes-aware distributed memory cache. Or choose backends for Memcached, Redis, etc.
  • Schedule jobs using a crontab-like pattern.
  • Extensible via the xprudence tool, which allows you to create custom builds of Prudence bundled with the plugins and APIs you need. Even when extended in this way Prudence still remains a single, compact executable file.

Documentation