Help with Django Cloudfare integration

I want to integrate my django project with cloudfare for cdn to my static files

And what’s your question?

1 Like

I don’t know where to start

I can do the Django part but I cannot find a way with Cloudfare
I have a free account and want to use Cloudfare for serving my static and media files(images uploaded by user) in my app.

:wave: @sakshambisen02,

Cloudflare is a transparent proxy. Caching typically ‘just works’ and doesn’t involved what might be an otherwise complicated setup required by many other solutions.

– OG

I have worked along Amazon Web Services(S3 static storage) and know how to get along but could you tell how do I get that same thing in Cloudfare.

Cloudflare isn’t a storage platform or web hosting platform, it protects / proxies for your existing origin. So if you’re asking how you store your assets on Cloudflare instead of S3, you should reread the previously linked article.

If you’re asking something else you’ll need to rephrase the question.

– OG

I want to access my account’s Global CDN functionality of Cloudfare.
Please tell me where to access it in my account?

:wave: @sakshambisen02,

Then you should add a DNS record for the host you wish to cache content for and set the record to :orange: in the DNS administration console.

Cloudflare is a transparent proxy. Unless you disable caching it is already turned on and set to cache static content.

– OG

1 Like