DEV Community


Discussion on: Accelerate your website with Nginx as a reverse proxy cache

nimatrazmjo profile image
Nimatullah Razmjo

Thanks for the article. I have a question. If I cache all my assets(images, font, css).

How does the nginx cache work? If I hard refresh the page does it get the data from the folder or from cache?

shameemreza profile image
Shameem Reza Author

You are welcome @nimatullah and thanks for reading my articles.

Nginx's cache is powerful! It can cache proxied HTTP requests, however it can also cache the results of FastCGI, uWSGI proxied requests and even the results of load balanced requests (requests sent "upstream"). This means we can cache the results of requests to our dynamic applications.

By the way, I will suggest you read this article: or do some research using google.

Forem Open with the Forem app