Categories
Server Administration Web Architecture

Caching strategy – Using varnish to handle high traffic

Varnish is an HTTP accelerator and is used as a caching strategy to reduce load on web server… you can find great guides on how to set it up and get started.But the more elusive question is WHEN TO USE VARNISH? Trying to streamline the caching strategy, we often had to rethink when to use Varnish. […]

Categories
How To Javascript Node JS Programming

[How To] Implement Passport.js Authentication with Sails.js

Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password. Step 1: Dependencies passport passport-local bcrypt List these dependencies inside application_directory/package.json  under dependencies.

Step 2: Create user model To create user model run the following command:

Now the user model will be created inside the /api/models/user.js […]

Categories
PHP Programming Yii Framework

Yii LESS Extension

Yii Less Extension gives a simple way to include LESS files in your Yii view files.
Extension Home: Click Here
Download: Click Here
Project Repository: Click Here
Support Forum: Click Here