Powered by Invision Power Board

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topicStart Poll

Outline · [ Standard ] · Linear+

> webserver dummy variable

muleteer
Sep 22 2004, 21:16
+Quote Post





Group: Betatesters
Posts: 8261
Joined: 29-February 04



I've set up the webserver on the same pc as e+. The url I see is something like this: http://127.0.0.1:4711/?ses=45773539&w=grap...at=&dummy=14358
The last number keeps changing with every reload/autorefresh.
Why is it necessary to use this dummy variable?
In case you are wondering why I'm asking, each time (I think) the number changes, a page is saved in the History and also in Temporary Internet Files folder. If the webserver is left running for a significant length of time with a low value for refresh time of pages, the result is a hell of a lot of entries in history and an equal number of saved pages in the Temporary Internet Files folder. I would rather this unfortunate side effect were avoided somehow.
User is offlineProfile CardPM
Go to the top of the page
Post #1
SyruS
Sep 22 2004, 23:27
+Quote Post





Group: Retired Devs
Posts: 3207
Joined: 21-January 03
From: Frankfurt, Germany



QUOTE(muleteer @ Sep 22 2004, 23:16)
Why is it necessary to use this dummy variable?


its absolutely necessary because without it, the auto-refresh would have to load all images again! with this dummy number the browsers do not re-request them and takes them from local cache.
User is offlineProfile CardPM
Go to the top of the page
Post #2
muleteer
Sep 22 2004, 23:51
+Quote Post





Group: Betatesters
Posts: 8261
Joined: 29-February 04



Is there another way of doing this? If not, then is there a workaround? Like encryption for example; there is a setting in IE: do not save encrypted pages to disk. Then we can have an option on the client 'use encryption'.
For testing purposes I tried out refresh interval = 1 sec! (only possible locally. of course!), then 10 sec for a few hours. I had to empty my cache after that. tongue.gif But if its too difficult, I guess I can live with it. The pages saved are only 59KB each.
User is offlineProfile CardPM
Go to the top of the page
Post #3
DonGato
Sep 23 2004, 05:22
+Quote Post





Group: Admins
Posts: 5493
Joined: 21-January 03
From: The Pampas, The land of the Gaucho!



Workaround: do not use any cache.

This is absolutely needed for the people using it for the proper reasons and with a logic usage pattern, as it's not really nice to redownload all images because of a refresh. You should use GUI for local monitoring.
User is offlineProfile CardPM
Go to the top of the page
Post #4

Reply to this topicTopic OptionsStart new topic
 

Lo-Fi Version Time is now: 19th June 2013 - 18:24