Install Atom editor
Install XCode Command Tools
This is what I use to control headers/caching, I'm not an Apache pro, so let me know if there is room for improvement, but I know that this has been working well on all of my sites for some time now.
This module controls the setting of the Expires HTTP header and the max-age directive of the Cache-Control HTTP header in server responses. The expiration date can set to be relative to either the time the source file was last modified, or to the time of the client access.
These HTTP headers are an instruction to the client about the document's validity and persistence. If cached, the document may be fetched from the cache rather than from the source until this time has passed. After that, the cache copy is considered "expired" and invalid, and a new copy must be obtained from the source.
# BEGIN Expires
Forever is a simple CLI tool for ensuring that a given script runs continuously (i.e. forever). Install it globally using NPM:
$ [sudo] npm install forever -g
forever.jsonfor your apps
This file should contain settings for all of your apps you want to run at boot. I use
/var/www/nodes to store my node apps and I put my