Skip to main content
Version: 2.35.0

Caching

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

First of all, make sure you use a composer as the entrypoint of the application.

Then, enable httpCache in the application configuration file.

Finally, make sure your pages return a proper Cache-Control header. See the Astro documentation 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 or join our Discord feedback channel.