0

I use nextjs with amplify and after deployment cache was reset. To save an HTML file to CloudFront cache it needs to be opened from browser. I use dynamic routes witch cache JSON (not HTML) in cache after navigating to page. Also i use lambda function for getting JSON data. Is there a way to store HTML to cache from lambda function, for example, open link with HTML from lambda?

Ismeet
  • 419
  • 5
  • 19

0 Answers0