Bill Billingson
Bill Billingson

Reputation: 353

View Caching in SailsJS

I've got a highly trafficed website and I'm using Sails for a specific conponent on a page. However the information doesn't change that often, maybe once per day. I'm wondering if there is a way to do view caching? Ideally using a key/store like Redis?

Upvotes: 2

Views: 332

Answers (1)

caseyWebb
caseyWebb

Reputation: 2096

You can run your app behind a proper webserver like NGINX or Apache and set them up to cache.

Upvotes: 0

Related Questions