Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Internet & the Web (https://www.askmehelpdesk.com/forumdisplay.php?f=177)
-   -   Force Browser To Cache Pages? (https://www.askmehelpdesk.com/showthread.php?t=17858)

  • Jan 14, 2006, 05:21 PM
    Webhosting
    Force Browser To Cache Pages?
    I am hosting a swf movie on a page but people click a page then return to that page and it reloads etc etc.

    Is there anyway I can make it stay in there cache unless they empty it? As most people do it unaware but my bandwidth usage yesterday was over 100mb :eek:
  • Jan 16, 2006, 06:29 AM
    LTheobald
    If the SWF is embedded in a HTML page then it should be cached.

    If you are directly linking to the SWF file (using a URL ending in .swf) then I don't think you can.


    How are you displaying the SWF? Directly or is it embedded?
  • Jan 16, 2006, 11:25 AM
    manutd4eva
    Hi I have the same problem I am on bebo linking to it directly so when someone clicks my profile it reloads. My bandwidth is well over 250mb this week :D

    Luckey I have unlimited bandwidth and diskspace:p but my provider has said if it uses "an excessive amount of server resources" I will have to take it down :( depends what they mean by excessive I rekon as soon as it hit 500mb I'm going to have to take it down :( its just a 500mb transfer plan sold as unlimited to get customors I bet you lol
  • Jan 16, 2006, 02:24 PM
    manutd4eva
    No I use a proper reseller package but it did say excessive usage it just depends what you class excessive.
  • Jan 17, 2006, 05:35 AM
    LTheobald
    Well just try to avoid linking directly. Link to a HTML page with that file embedded. It's a better option anyway as it makes it ever so slightly more trickier for people to steal your work etc.
  • Jan 17, 2006, 10:23 AM
    manutd4eva
    Thanks but I use bebo.com a website where you can chat with your mates. If I link to a html page it won't work as you have a little flash box on your profile and when you update it to a html page it says not allowed. Thanks anyway. I heard something about httpconf or apacheconf is this possible? Thanks
  • Jan 18, 2006, 06:39 AM
    LTheobald
    I'm not too sure. Try reading through this and see if it gives you any pointers.

    http://www.websiteoptimization.com/speed/tweak/cache/
  • Jan 18, 2006, 11:35 AM
    manutd4eva
    Thanks I will try that later :D

    Don't know if I've got time now - off to watch Man Utd (lose against burton! )

  • All times are GMT -7. The time now is 07:54 AM.