locked_user sundialsvc4 has asked for the wisdom of the Perl Monks concerning the following question:
I am dealing with a legacy application that always issues URLs with a pure-random string as part of the URL. The purpose of this, obviously, is to defeat client-side caching of those pages, which contain dynamic content. But I am trying to judiciously increase the ability of browsers to use their local caches, because the pipes between are sometimes very narrow. (There is no advertising or any other such web-garbage...)
Using Apache directives, the site now specifies an expiration-date for the content (an hour or so), and it includes an ETag using the FileETag directive.
I would like to hear opinions of whether the random string can be removed from the URL, and what the positive and negative implications of doing such a thing might be. I want the client-side cache behavior to be as efficient as it is possible to be now (you may assume “fairly recent browsers...”), but of course, not stale. The code is many, many years old, and I think that it is still using very out-of-date practices ... “intentionally caching nothing, and paying a dear price.” But I seek the wisdom of the Monks.
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Random URLs for pages with dynamic content .. better way?
by JavaFan (Canon) on Jul 18, 2011 at 13:51 UTC | |
|
Re: Random URLs for pages with dynamic content .. better way?
by flexvault (Monsignor) on Jul 18, 2011 at 14:20 UTC | |
|
Re: Random URLs for pages with dynamic content .. better way?
by locked_user sundialsvc4 (Abbot) on Jul 18, 2011 at 17:37 UTC |