# Caching

When using Platformatic Refix, you can easily cache your pages and actions.

First of all, make sure you use a [gateway](/docs/latest/reference/gateway/overview/) as the entrypoint of the application.

Then, enable `httpCache` in the [application configuration](/docs/latest/reference/runtime/configuration/#httpcache) file.

Finally, make sure your pages return a proper `Cache-Control` header.
See the [Remix documentation](https://remix.run/docs/en/main/route/headers) to learn more.

You are all set!


# Issues

If you run into a bug or have a suggestion for improvement, please
[raise an issue on GitHub](https://github.com/platformatic/platformatic/issues/new).