I was thinking about an Application that uses Apache as the main server and Nginx as a reverse proxy ( from what I understand by using them this way you can manage requests way faster than using just Apache but slower than using just Nginx). This application would need to store a lot of data: images, videos, audio and to do so I thought that the best way was to use Amazon S3. At this point, by setting Nginx caching right I think that the pages would load pretty fast right? But if I would be to use also Cloudflare wouldn’t it be even faster? So correct me if I’m wrong: For dynamic content: user -> Nginx -> Apache -> Nging -> user For Static content cached with Nginx: user -> Nginx -> user For Static content cached with CDN: user -> Nginx -> Cloudflare -> Nginx -> user For content that is not cached: user -> Nginx -> Cloudflare -> S3 -> Cloudflare -> Nginx -> user
Is it even worth creating and managing something like this?
I’m still learning and I couldn’t find anything like this on the internet so maybe I’m wrong and this doesn’t even make sense.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!