Hello,
I have set image expiry in .htaccess file, but it's not working; might be because cloudflare.com hardly let it work.
Most viable solution in such case is to declare in php header, but I don't know the process.
Will you please help me out?
Regards,
Asish

There's a setting in Cloudflare to override expiry with a cloudflare-set setting, or to respect the origin server's headers. You need to set it to respect your server's headers or else Cloudflare will override.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.