Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.
/ nuCache Public archive

/sBin/nuCache: Varnish-Cache Modular Configuration with Pre-Defined Production Ready Modules

Notifications You must be signed in to change notification settings

slashsbin/nuCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

νCache

Project Status <script type="text/javascript" src="http:https://www.ohloh.net/p/652070/widgets/project_thin_badge.js"></script>

/sBin/nuCache v1.1.8

Overview

Varnish-Cache Modular Configurations & VCLs with Pre-Defined Production Ready Templates & Tweaks

Features

  • Multi-Backends
  • Modules
    • Main: General Purpose WWW & Server-Side Language InDependant, Core nuCache Module
    • Custom Error: A Custom Error Page
    • PHP: PHP Specific
    • Drupal: Drupal Specific
    • .Net: ASP.Net Specific
    • ShortCircuit: Pipes All Requests to BackEnd when Enabled
    • ShortCircuitTrigger: Same as Mod-ShortCircuit but only when NUCACHE_FUZE QueryString is Set
    • Security: General W3 Security
    • Default: Default Built-in Varnish-Cache VCL
    • Debug: Sets Additional Information HTTP Headers for Debug Purposes
    • DebugTrigger: Same as Mod-Debug but only when NUCACHE_DEBUG QueryString is Set
    • Test: Empty Mdoule for Writing Custom Tests
    • UserCustom: Empty Mdoule for Writing Custom User Configurations

Requirements

  • Varnish-Cache v3.0.x

Index

  • backend.d/ Backends definition files
    • backend__.vcl.template Backend definition sample template
    • backend__main.vcl Main Backend
  • backends.vcl Enable/Disable Backends
  • module.d/ Modules definition files
    • mod_.vcl.template Module definition sample template
    • mod_default.vcl Mod-Default
    • mod_main.vcl Mod-Main(Core)
    • mod_main_lib.vcl Mod-Main Library
    • mod_main_acl.vcl Mod-Main ACL
    • mod_security.vcl Mod-Security
    • mod_php.vcl Mod-PHP
    • mod_php_lib.vcl Mod-PHP Library
    • mod_drupal.vcl Mod-Drupal
    • mod_drupal_lib.vcl Mod-Drupal Library
    • mod_drupal_acl.vcl Mod-Drupal ACL
    • mod_dotNet.vcl Mod-DotNet
    • mod_dotNet_lib.vcl Mod-DotNet Library
    • mod_shortCircuit.vcl Mod-ShortCircuit
    • mod_shortCircuitTrigger.vcl Mod-ShortCircuitTrigger
    • mod_customError.vcl Mod-CustomError
    • mod_debug.vcl Mod-Debug
    • mod_debugTrigger.vcl Mod-DebugTrigger
    • mod_debug_lib.vcl Mod-Debug Library
    • mod_test.vcl Mod-Test
    • mod_userCustom.vcl Mod-UserCustom
  • modules.vcl Enable/Disable Modules
  • etc/ ETC files
    • daemon VarnishD Daemon Config
  • nuCache.vcl Bootstarp File
  • INSTALL Installation Manual
  • VERSION nuCache Versoin
  • README.md Readme, You are here!

Installation

  1. Copy/Clone nuCache files to /etc/varnish

    $ cd /etc/varnish
    $ git clone https://github.com/slashsBin/nuCache.git .
  2. Use etc/daemon file as VarnishD Daemon Config file

    # Debian
    $ mv /etc/default/varnish{,.nuCacheSave}
    $ ln -s /etc/varnish/etc/daemon /etc/default/varnish
    # CentOS
    $ mv /etc/sysconfig/varnish{,.nuCacheSave}
    $ ln -s /etc/varnish/etc/daemon /etc/sysconfig/varnish
  3. Enjoy!

See INSTALL.md for more Information & details.

License

nuCache is licensed under the MIT License.

About

/sBin/nuCache: Varnish-Cache Modular Configuration with Pre-Defined Production Ready Modules

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages