What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » Forum & Website » Dreaded Internet Cache

Pages: (2): « First [ 1 ] 2 » Last »
Dreaded Internet Cache
Author: Message:
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
35 / Male / Flag
Joined: Jul 2006
O.P. Dreaded Internet Cache
Most people are having trouble when the download updates for certain scripts.
If the file is still in the internet cache, no new version is downloaded...

Simple solution: Add the current time to the URL, like http://shoutbox.menthix.net/attachment.php?pid=72...1/08/2006-17:30:32
Or just the numbers like: http://shoutbox.menthix.net/attachment.php?pid=72...ime=31082006173032
This way the browser thinks it is a different file, and will download the latest version, it should be easy to implement, and will reduce a lot of miscomunication "It still doesn't work:("

(Y) Would be a great help
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
08-31-2006 03:33 PM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Dreaded Internet Cache
Or developers can add a version number at the end of the name so that the file is easily distinguishable from other versions and can be seen to be the update.  I don't mind your suggestion though.
[Image: markee.png]
08-31-2006 03:44 PM
Profile PM Find Quote Report
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
35 / Male / Flag
Joined: Jul 2006
O.P. RE: Dreaded Internet Cache
The version needs to be changed manually I presume?

Some people could forget it... But it could be a good alternative, maybe it could show the version number underneath the download link
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
08-31-2006 04:26 PM
Profile PM Find Quote Report
saralk
Veteran Member
*****

Avatar

Posts: 2598
Reputation: 38
35 / Male / Flag
Joined: Feb 2003
RE: Dreaded Internet Cache
quote:
Originally posted by markee
Or developers can add a version number at the end of the name so that the file is easily distinguishable from other versions and can be seen to be the update.  I don't mind your suggestion though.

he's talking about changing the attached file, which doesn't change the address.
The Artist Formerly Known As saralk
London · New York · Paris
Est. 1989
08-31-2006 05:14 PM
Profile PM Find Quote Report
Shondoit
Full Member
***

Avatar
Hmm, Just Me...

Posts: 227
Reputation: 15
35 / Male / Flag
Joined: Jul 2006
O.P. RE: Dreaded Internet Cache
Yes I did, I misread his post, and thought he ment http://www.blah.com/link?version=1.01
My scripts:                            [Image: shondoit.gif]
+ Timezone
+ Camelo
+ Multisearch
08-31-2006 05:19 PM
Profile PM Find Quote Report
Spunky
Former Super Mod
*****

Avatar

Posts: 3658
Reputation: 61
35 / Male / Flag
Joined: Aug 2006
RE: Dreaded Internet Cache
This is a pretty simple solution. There was a function (can't remember the language) called CacheBuster that used the same principle. I also used it when I made a flash site that displays WLMs details as my DP wasn't updating. Just add random numbers after filename (and ? as well) :p
<Eljay> "Problems encountered: shit blew up" :zippy:
09-05-2006 10:40 PM
Profile PM Find Quote Report
haydos
Veteran Member
*****

dirty dirty house music

Posts: 1026
Reputation: 49
– / Male / Flag
Joined: Dec 2004
RE: Dreaded Internet Cache
I spoke to WDZ about this possible solution to the caching in the shoutbox, and he said he wouldn't be implementing this idea because he wants some things (such as images, which many people use as attachments) to be cached. Otherwise it's really a waste of bandwidth when people are constantly re-downloading images.

I guess it is possible to only implement this idea for files ending in specific filetypes... but don't bet the house on it because it is WDZ after all :P
quote:
Originally posted by WDZ
don't be lazy
[Image: gayspam.gif]

09-06-2006 03:44 AM
Profile PM Find Quote Report
markee
Veteran Member
*****

Avatar

Posts: 1621
Reputation: 50
36 / Male / Flag
Joined: Jan 2006
RE: Dreaded Internet Cache
I think the URL for the attchment should include the name of the file so as you can change the filename, in turn changing the URL and there is no worry about the cache (apart from if you are downloading a file which you have already downloaded previously).  An example would be like with my gradient script, instead of http://shoutbox.menthix.net/attachment.php?pid=695421 it would be http://shoutbox.menthix.net/attachment.php?pid=69...radient_v3.00.plsc or something simular.
[Image: markee.png]
09-06-2006 03:49 AM
Profile PM Find Quote Report
WDZ
Former Admin
*****

Avatar

Posts: 7106
Reputation: 107
– / Male / Flag
Joined: Mar 2002
RE: Dreaded Internet Cache
Well, this shouldn't be a problem in MyBB 1.2 because posts can have multiple attachments, and each attachment has its own ID.
09-06-2006 03:53 AM
Profile PM Web Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Dreaded Internet Cache
this would be great for the people that dont change there file name (timezone) because i hate having to empty  the cache every time i go to download it
09-06-2006 04:10 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On