[IIS] [SIMPLE] No - Cache your SWF [UPDATED]
Hello.
I want to release my little no-cache file for IIS.
Quote:
It's very simple:
1. Make a new file in your gamedata directory named `web.config`
2. Put this contents in the file:
Code:
<?xml version="1.0" encoding="UTF-8"?><configuration>
<system.webServer>
<httpProtocol>
<customHeaders>
<add name="Expires" value="Mon, 26 Jul 1990 05:00:00 GMT" />
<add name="Cache-Control" value="no-store, no-cache, must-revalidate" />
<add name="Pragma" value="no-cache" />
</customHeaders>
</httpProtocol>
</system.webServer>
</configuration>
3. Clear your cache :)
He now automatic add no-cache headers to your swf and don't cache your swf's.
Quote:
I know that it's a simple release. So you don't have to say that.
Questions? Feel free to ask!
I know that my English is very bad :)
Pepijn.
UPDATE: Use this file in your gamedata folder :) - Thanks for your tip Aaron / Sojobo.
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Sounds pretty cool! Thank ya Pepijn bro :):
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Why would you use this? You're just wasting extra bandwidth for both your server and your users with this. I see no advantage of using no-cache.
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Yes, it is good, but and for Apache? I used all of 2...
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Quote:
Originally Posted by
Droppy
Yes, it is good, but and for Apache? I used all of 2...
Code:
<filesMatch "\.swf$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Thu, 12 Jan 1984 06:00:00 GMT"
</ifModule>
</filesMatch>
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
If your users have slow internet I feel for them... I really do, normally with a 1mb connection it takes about a minute to load the client... I personally would not use this.
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Well that's a nice way to waste bandwidth...
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
Cache is doing its job for a reason...
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
I would probably only use this if users are having problems logging in... and that would be for a limited time only.
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
If your users are having cache issues simply put a ?1 on the end of files u want to re-cache (http://habplus.com/gamedata/furnidata.txt?1) then it will grab it again.
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
This is verry good thank you +1 like
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
A good idea is to use this in your gamedata folder instead - that way peoples external texts, variables, furnidata, figuredata, etc is all updated instantly when you add new furni (which doesn't require reloading any SWFs at all) ;)
Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF
I like this but, I hate it cos I like clearing my cache for the updates I find it rather fun! when im bored so no sorry i will not be using this tut in my file!
Re: [IIS] [SIMPLE] No - Cache your SWF [UPDATED]
Quote:
Originally Posted by
pepijndut
Hello.
I want to release my little no-cache file for IIS.
Pepijn.
UPDATE: Use this file in your gamedata folder :) - Thanks for your tip Aaron / Sojobo.
Do you realize that loading your page without cache makes the possibility to load your page slower? ehh?
Cache is pritty good. Just make shure you set it up right. Not by disabling it.
Just read what cache does to your web.. Google for example.