Question

According to its website G-WAN uses microcaching that lasts 200ms. The only way to prevent microcaching mentioned on the website is to use a changing query parameter.

I'd like to use G-WAN. The problem is my home page is a newsfeed that's personalized for each user. So even though everyone goes to the same URL (mydomain.com) the content would be completely different for each person, just like facebook or twitter.

Obviously caching would not work in this case. Is there any way to turn off caching?

Était-ce utile?

La solution

Don't worry about the microcaching, as far as I got from other answers so far, it only applies if the used portions of the requests stay the same, and as you'll probably use cookies to identify users, that portion would change for every user, so that the microcaching would only apply on a per user base, e.g. one user might get the same cached version if he repeats the query in that timeframe, but user A should not get the same reply as user B, not matter how close those requests are to each other.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top