Disable nginx cache for a specific URL in site

cn flag

We want to disable cache on a specific URL in our site.

The problem we have is that when a user buys something, this purchase only is reflected in user's profile when nginx cache is cleared

User's profile URL looks like this:

Bravo avatar
us flag
Are you using nginx as a reverse proxy? if so, you can control nginx cache using the `Cache-Control` header on the origin server
Michael Hampton avatar
cz flag
Do not post the same question repeatedly. Instead you should edit your original question to improve it.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.