For the new 3.7 there's also gc.freeze (https://bugs.python.org/issue31558) which will be great for many web projects.
Documentation link for anyone that is interested
I guess it would be nice to know if optimizations like this are already covered in the high-level libraries like `multiprocessing`.
But web frameworks should implement it.