[IIS] [SIMPLE] No - Cache your SWF [UPDATED]

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    I am Nobody. pepijndut is offline
    MemberRank
    Oct 2009 Join Date
    328Posts

    [IIS] [SIMPLE] No - Cache your SWF [UPDATED]

    Hello.

    I want to release my little no-cache file for IIS.
    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.
    Screenshot:

    Without my No-Cache system:


    With my No-Cache system:
    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.
    Last edited by pepijndut; 16-09-12 at 08:31 PM.


  2. #2
    Zephyr Studios PRIZM is offline
    MemberRank
    Feb 2012 Join Date
    DenmarkLocation
    2,291Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    Sounds pretty cool! Thank ya Pepijn bro

  3. #3
    Member Reimu is offline
    MemberRank
    Aug 2012 Join Date
    62Posts

    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.

  4. #4
    Evil Italian Overlowrd Droppy is offline
    [Internal Coder]Rank
    Feb 2012 Join Date
    /home/droppyLocation
    2,078Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    Yes, it is good, but and for Apache? I used all of 2...

  5. #5
    Member Reimu is offline
    MemberRank
    Aug 2012 Join Date
    62Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    Quote Originally Posted by Droppy View Post
    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>

  6. #6
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    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.

  7. #7
    <insert title here> Shorty is offline
    MemberRank
    Feb 2007 Join Date
    United KingdomLocation
    1,861Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    Well that's a nice way to waste bandwidth...

  8. #8
    Account Upgraded | Title Enabled! SkeetEmUp is offline
    MemberRank
    Aug 2011 Join Date
    358Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    Cache is doing its job for a reason...

  9. #9
    ส็็็็็็็ Bloodraven is offline
    MemberRank
    Sep 2009 Join Date
    AntarcticaLocation
    2,414Posts

    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.

  10. #10
    I am Nobody. pepijndut is offline
    MemberRank
    Oct 2009 Join Date
    328Posts
    Sorry people, I don't thought about the bandwidth, I never have a problem with it and going to release a better solution soon ;p and about the internet speed, I test / use it on a Dutch hotel and in the Netherlands, the most people download 20 mbit per second.

    Pepijn

  11. #11
    Account Upgraded | Title Enabled! SkeetEmUp is offline
    MemberRank
    Aug 2011 Join Date
    358Posts

    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.

  12. #12
    hoi Nilenz is offline
    MemberRank
    May 2011 Join Date
    The NetherlandsLocation
    380Posts

    Re: [IIS] [SIMPLE (!!!)] No - Cache your SWF

    This is verry good thank you +1 like

  13. #13
    Otaku Sojobo is offline
    MemberRank
    Nov 2006 Join Date
    ScotlandLocation
    1,279Posts

    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) ;)

  14. #14
    Enthusiast Structured is offline
    MemberRank
    Aug 2012 Join Date
    29Posts

    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!

  15. #15
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: [IIS] [SIMPLE] No - Cache your SWF [UPDATED]

    Quote Originally Posted by pepijndut View Post
    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.



Page 1 of 2 12 LastLast

Advertisement