You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all many thanks for the good work with Api Platform 2.7 and 3.0 releases!
On our app, size of cache pools dropped from 27Mib to 19Mib 🎉
That said, we deploy our app as AWS λ with Bref.
One sad thing is that on λ cold start, we have to copy cache pools directories to /tmp on the λ which is the only write directory allowed on a running λ. Copying many Mib can take time, about 100-200ms in our case.
So first of all I'm just curious about one thing: are we agree that everything generated by Api Platform into Symfony cache pools is immutable at runtime if we have made the appropriate warmups?
If yes, is there a way in this case to generate those cached files outside of cache pools for production deployment? This would bring 2 interesting things at runtime:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
First of all many thanks for the good work with Api Platform 2.7 and 3.0 releases!
On our app, size of cache pools dropped from 27Mib to 19Mib 🎉
That said, we deploy our app as AWS λ with Bref.
One sad thing is that on λ cold start, we have to copy cache pools directories to
/tmp
on the λ which is the only write directory allowed on a running λ. Copying many Mib can take time, about 100-200ms in our case.So first of all I'm just curious about one thing: are we agree that everything generated by Api Platform into Symfony cache pools is immutable at runtime if we have made the appropriate warmups?
If yes, is there a way in this case to generate those cached files outside of cache pools for production deployment? This would bring 2 interesting things at runtime:
Beta Was this translation helpful? Give feedback.
All reactions