I’m a Fastly customer and I want to figure out if i can push more Fastly to reach my needed.
- User request the website
- Browser start to make all the request (html, css, js, jpeg, etc.)
- I want to create a middleware in VCL that need to make:
3.1) if the page is HTML, then sent that page to a specific service/API
3.2) Now you received the HTML back, then sent that page back to the User and CACHE IT in Fastly
3.3) if another user request that page, then serve the CACHED version
Basically a middleware able to process some files (html, js, css) before sent the files back to the User.
Is it possibile with VCL?