I am a new user of the Slim Framework.
Want to take the occasion to thank for a ‘right sized’ framework.
Even though I am starting to have quite the hang of it, there is an issue I don’t get resolved.
I am serving a number of files pseudo-static. That means : just checking if the user has access to it and then serving through Slim.
Those files I want to have cached by the client. And that’s where I got stuck.
session_start()) does the job decently, but it caches at once all pages, which I don’t want. How can I in the logic of my route define that certain files I serve must be cached ?