How can I configure apache so that it prevents proxy servers to cache a specific URL on my website?

 How can I configure apache so that it prevents proxy servers to cache a specific URL on my website? - Server Fault


This is pretty easy to do with apache, for example to specific that nothing coming from your server should ever be cached, try this

<Location / >
   ExpiresActive On
   ExpiresDefault "now"
</Location>

You probably don't want to do this exactly, so look at the documentation for mod_expires and customise this for your needs.

Also, remember that in this scenario a browser and a proxy are treated the same. By sending expires headers with your responses that disable caching, you will be adding significant load and cost to running your site, not to mention slowing access your visitors.

Không có nhận xét nào:

MySQL datetime with mode: 'date' will now store dates in UTC strings and retrieve data in UTC

 https://orm.drizzle.team/docs/latest-releases/drizzle-orm-v0286 Note : MySQL datetime with mode: 'date' will now store dates in U...