Search squid archive

Re: Caching strategy, will this work?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Which places a great deal of strain on caching within HTTP... HTTP do
> not like to see different content on the same URL..
>
> It is possible to solve this using Vary, but only if you are not using
> session cookies on anonymous users. And even then some browsers (mainly
> Firefox) will get a bit confused not knowing they have to refresh the
> page when the user logs in..

Could you tell me more about Vary? What is it and how do I use it?

> It is however in most cases possible to utilize a little bit of
> javascript and style sheets to solve this problem by making the same
> page display differently depending on the browser state, moving the
> display logics from the server to the browser. A technique used
> surprisingly little..

So do you think my strategy is feasible?  How would you use javascript
to do this? Could you perhaps give a simple example?

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux