Cachibng of external HTML files

Hello
I need to devellop and use a quite complex set of html files, some of them being included in portal pages via iframes.
I put my html files in a subdir called "atl" of 9iasportal/Apache/htdocs, and i access them via http://...:7778/atl/file.htm
How is cache performed on theses files ? In a developement phase, if i want to check my modification, i don't know how to clear the cache only for theses files . Even if i close my session and launch a new IE they still are in the cache, so i have to rename them to see the changes.
Please explain me how to do and how to manage caching of theses files.
regards
Arnaud

If you access through port 7778, that's the default apache port which routes around web cache (default port 7777). That access won't cause your files to be cached. But apparently they are cached in your case, so they must have been access through 7777, probably through Portal's iFrame.
Now, to view latest changes to these files stored on your file system, you need to manually invalidate them from the web cache. Restarting your browser won't work because they are cached in Web Cache. You have to either restart the Web Cache (thereby losing all cached content in Web Cache) or selectively remove just those files through Web Cache's invalidation interface.
To restart webcache, Portal has a link in its administration page to webcache administration. There you do restart. If you want to selectively invalidate, go to the same webcache administration interface. You can find an Invalidation page. You can invalidate by many different combination of selectors. In your case, the selector could be a simple URL prefix http://myhost:7777/alt/. Note that the port number is 7777, not 7778, because by default the Apache's virtual host port number is 7777, so the request HTTP Host header received by iAS, starting from Web Cache, is 7777, not 7778. Of course, if you have modified that port, it should be your new port number.
The default username/password for Webcache's administration tool is administrator/administrator.

Similar Messages

  • Problems in Frame 1 with External HTML files

    I am having an issue with loading two external html files within
    my website.
    I have a case study page with a
    dynamic textbox and a scrollbar attached to it.
    I have another page "news" that
    contains another dynamic textbox with a scrollbar attached to
    it.
    I created two .txt files with my
    information for both pages.
    Working in Flash CS3 with
    Actionscript 2.0 at 30fps.
    My problem is this:
    I can go to my news page and the .txt file will be visible,
    but once I go to the other case study page and reveal that .txt
    file, I go back to the news page and the .txt file is no longer
    visible. Only a nonworking scrollbar is displayed with no text and
    nothing else.
    I believe I need to do something different in Frame 1's
    Actioncode. I just don't know how to get the other .txt file to
    work along with the other. I will be adding more .txt files in
    dynamic textboxes later and I really need to resolve this issue so
    I am able to add them with no problems. Appreciate anyone's help
    immediately if you can.
    Here is the temporary website link so you can test and see my
    problem. Don't forget to go the the news button first in the
    navbar. Then go to the case studies link and find the MAX Cat
    Packaging and view that .txt file, then go back and you will see my
    problem.
    Click Here to
    Visit Site

    well I made a separate layer and placed the symbol with the
    text box and scrollbar attached. That was the only thing on the
    layer as you mentioned to separate it. I don't see how I could
    separate the scrollbar from it as it is needed. So I made some
    keframes, selected the textbox inside the symbol and added the code
    you told me to add:
    caseStudyMC._visible=false; In the other frames where I
    needed it visible I added the code:
    caseStudyMC._visible=true;
    When I tested the movie. I didn't see the text but I saw the
    scroll bar still and the text still failled to appear after viewing
    the MC Case study text.
    Is the code supposed to go in Frame1? What do I do with the
    scroll bar image? I tried to Make it all disappear using the alpha
    at 0, but it still didn't work.
    thanks for all your help. hope you understand what I
    wrote.

  • How may load an external (html) file in swf? Anyone!!!!!

    hi all,
        How may load an external html file in swf? such as google.com in a movieclip.
    anyone may help me.........????????

    With Flash, you can't do this.
    Just with FlashBuilder and Air (something like HTMLLoader  , not sure now)
    I mean loading in a movieclip..
    Of course you can open a page to display in a browser.

  • External HTML files

    Can anyone help me with a problem I'm having?
    I am currently trying to automate generation of the locale specific public API document for the product we make.
    Part of this documentation requires that some of the generic classes we use are also shown in the this document. Obviously im using javadoc and ant to automate this.
    The problem I am having is that I am required to include the pregenerated javadoc pages for the generic classes (4 packages) and bind this together with the javadoc files I am generating for the locale specific parts of the product (1 package).
    Is this something that javadoc can handle, or does all output have to be generated rather than simply included? If javadoc can handle this, what part of the documentation have I missed?
    Thanks in advance, any help appreciated. Jason.

    It depends on how well integrated you want those four packages.
    Probably what will suffice is to use the -link (or -linkoffline) option
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html#link
    If your package depends on the other four packages, this option will
    add links in your package pointing to those packages, but that's
    all it will do. The Javadoc tool won't add the four package names
    to the upper left pane, or add their class names to the "All Classes"
    list in the lower left pane, or add the program element names to
    the alphabetic index, or inherit doc comments from them.
    (There's no option that will do all these things from external HTML
    class pages)
    You could fairly easily manually add the package and class names
    to the left panes.
    If your package doesn't depend on the other packages, then there's
    no point in using -link.

  • Can an external html file be loaded into and displayed in Flash?

    I currently pull an html file into our site via iframe.  (due to various factors, I cannot host the information in the html on our site and need to host it elsewhere).  Is it possible to use a loader or other method to pull this information into flash?

    Thanks.  I didn't think so, but needed confirmation from someone much smarter than me.

  • A working method to load local PDF and HTML files on iOS

    I had a lot of trouble getting this to work, and I'm hoping this post saves someone time. Some of the information that's been posted in other locations is either wrong, incomplete, or might only work on Android. By the time you read this message the information here may no longer be accurate, so here's the testing environment:
    Window 7
    Flash CS 5.5.0
    AIR 2.7.0.19530, which was compiled on June 28, 2011
    iPad 1, version 4.3.5 of iOS
    Let's get started.
    On iOS, you load external PDF and HTML files using the StageWebView class.
    On Windows, StageWebView works but the HTMLLoader class is a better choice if you're creating a desktop app.
    You can also load HTML files by reading in the file's text. The information in this post is only for loading external HTML files.
    StageWebView will not load a file that's in File.applicationDirectory. All files bundled in your app are placed in File.applicationDirectory, which means you'll have to copy any external file you wish to load with StageWebView to another directory.
    So where can you copy your file? File.applicationStorageDirectory won't work. File.documentsDirectory does work.
    Several people have recommended copying to a temporary file using File.createTempFile(). This works, but there's a catch: it seems that, like Windows, StageWebView relies on a file's extension when determining how to load it. When you create a temporary file on iOS using File.createTempFile(), the file will have no extension (and on Windows, File.createTempFile() creates a file with the extension .tmp, which is equally problematic).
    The solution to the file extension problem is to rename the temporary file by appending the original file's extension. AIR currently does not have a <file>.rename() function, so you'll have to do it using <tempFile>.moveTo().
    Here's some code I've successfully tested several times on both iOS and Windows. The file is copied to the temp directory. The file's extension is restored by just slapping the original file name to the end of the temp file.
            private function loadExternalFile():void
                var webView = new StageWebView();
                webView.stage = this.stage;
                webView.viewPort = new Rectangle( 0, 0, 1024, 555 );
                // Works with either html or pdf files.
                // These are stored in the root of the application directory.
                var fileName:String = "euei.pdf";
                //var fileName:String = "euei.htm";
                var sourceFile = File.applicationDirectory.resolvePath( fileName );
                var workingFile = File.createTempFile();
                try
                    sourceFile.copyTo( workingFile, true );
                    // You have to rename the temp file
                    var renamedTempFile:File = workingFile.resolvePath(workingFile.nativePath + fileName);
                    workingFile.moveTo(renamedTempFile, true);
                    webView.loadURL( renamedTempFile.url );
                catch (err:Error) { }

    I tried this with Flash CS5.5 and AIR 4.0 SDK. Any pdf loaded simply fills the viewPort with black. Also tested with a png version of the pdf and that displayed just fine.
    What's the purpose of copying to a temp work file? I found that webView.loadURL( sourceFile.url ); gave me the exact same results.
    Any ideas?
    Thanks!

  • How to load an exteranl html file in a div

    All-
    Im sure this has been covered but I can't find what I'm looking for.
    How do I load content from an external html file into a div in Edge?
    I want my client to have the option of updating the html files so i don't have to edit them in edge
    The files are inside of a folder called "content"and the index.html file is outside of this folder.
    Thanks

    I tried this and it works. Thanks.
    How can I control the EA timeline with the loaded HTML? I would like to animate the "webPageDisplayPort" div on stage when a user click a button or image inside the loaded HTML.
    HTML code:
    <div class="image" onClick="comp.play();"></div>

  • Html files play in main stage of flash

    How can macromedia flash play html files?
    I have a problem my friends! First of all I should say that I
    know flash is not a browser!!! I have lots of internal and external
    html files next to my main swf movie and I made lots of botton for
    each html files and a window next to the bottons on the left side
    of my stage now the question is: how can I tell macromedia flash by
    pressing each botton its especial html file play in the left
    window?(and not anywhere else) I tried "get url" but html files now
    are playing in a browser and not in my window!!
    Maybe I made the window in the wrong way so how can I create
    this window for html files?
    I am not a professional user of macromedia flash –
    thank you for your coaporation
    In the following path you can find an example this is where I
    installed my flash
    C:\Program Files\Macromedia\Flash 8\Samples and
    Tutorials\Samples\Text\ TextEnhancements
    Here is a link that maybe show my question better
    Its just 120 kb
    http://scorpionsofhack.googlepages.com/html.zip

    Set the sample rate higher in MainStage and you'll get lower latency.

  • Load an external gallery  file into a host div via Ajax method?

    I was just wondering if anyone has been able to get a spry
    gallery to work when placed within an external html file and loaded
    into the host div of a page using Ajax method to load. It must work
    remotely (on the Internet).
    I've tried and mutilated enough sample files, that I'm
    continuing my work in Flash and don't have anything un-mutilated to
    post at this moment.
    If you have, great. Let me know. If you have a link somewhere
    it has been done correctly that I can look into and are willing to
    post the link, I'd be glad to see it working.
    thanx.

    I am not calling any scripts from an outside server. All of
    the external htm files I am pulling are located within the site
    root (or in a sub folder of).
    What I am trying to do is have two Spry gallery slideshows
    (very similar to the demo) coded on separate htm pages that are
    brought into divs of the index file (main file).
    I have a spry tabbed panels widget. The content for each of
    the "TabbedPanelsContent" divs are in external htm files. The
    external files that contain basic text, images, and links work
    beautifully. The files that have Spry Gallery slideshows in them do
    not display properly.
    The experimental files I've created are in major disarray
    because I've added other issues to test. When I can return to it
    and prepare a new troubleshooting file, I will post a link if I
    haven't resolved it. -- or the solution if I find it. Mainly I was
    wondering if anyone had created something similar so I could
    inspect the code to compare.
    Thank you for replying Cristian!

  • Loading external htm file to display in TextArea

    Hi,
    I'm trying to think how I can load an external HTML file ad
    display the page in a TextArea and assign an external css file to
    style the text.
    Would appreciate any advice and sample code.
    Alex

    lexy,
    Are you trying to just use HTML text for a single text area,
    or are you trying to load an entire web page? If you are just
    looking to load some text, you can create an
    <mx:HTTPService> and point it to your .html file. Then
    you have to drill down to the section you are looking for ie..
    htmlVar.HTML.Body.div.tr.td.etc. Unless you are creating the
    file from scratch, in which case you can just make is an HTML
    formatted flat file with a single header like:
    <body> this is the <b>TEXT</b> I wanted to
    <i>display</i> </body>
    and then just load that. In any case, load that into an
    Object and then assign, the
    htmlText property of your textArea the Object variable and
    you should be set (be that the case).
    If you are looking to load a webpage in a container, check
    out this link:
    http://raghunathraoflexing.blogspot.com/2006/12/flex-i-frame.html

  • How to include external javascript file in an html

    hello
    i've an html file placed in apache/webapps/test folder this html file includes an external javascript file placed at same level
    i'm includind the file as
    <script src="file1.js"></script>but the file does not gets included
    but when the sam folder "test" is paste outside apache the html file including the external file runs properly.
    Thank You

    flounder wrote:
    cotton.m wrote:
    What's really pathetic is that this is your third cross post on this same stupid off topic topic.
    You are really a dumb f&#117;ck you know that?If they knew that they were a dumb f&#117;ck then they wouldn't be a dumb f&#117;ck!That's a logical and reasonable conclusion. Therefore I very much doubt that the OP is capable of it.
    Hmmm this is interesting. It now shows the entity escapes rather than their values when you quote.

  • Link to an external RoboHlp8 html file

    Hi,
    I am trying to create a link to another RH8 project.
    I have been using Insert Hyperlink\Link to\File\Locating the html file in the other project.
    When I click OK it displays This action will create an external link to the help system. The link may not function..........
    If I create a link anyway when I publish I cannot open it.
    Any ideas??
    thank you.
    Wowronin

    Hi,
    The link you're creating is relative from the path your source files are stored. Because the link is external, RoboHelp cannot update your link, so your link won't work.
    When you make an external link, you must either use a hard address, such as "http://www.adobe.com" or make a relative link, which is relative from the published location. Say that you have two projects, in project 1 you create the link ../project_2/project_2.htm. This link will take the parent directory of the topic, then the directory project_2 and open the file project_2.htm. When you create these relative links, your links will only work on the published (or test) server/directory.
    Also note that you can use a hard address for files on network drives (ie g:\123.txt), but that will require every user to have access to this drive, and every user must have the same drive letter assigned to the network drive. I suggest that you use relative paths, but it'll require some planning.
    Greet,
    Willam

  • How to load external storage html file in web view

    hi all,
        how to load external storage html file in web view, please help me
       " ms-appdata://local/index.html" not working
    veerasuthan veerakesan

    It need be read as string. Then load the string by  Webview.NavigateToString.
    Sample as below
    string htmlstring = string.Empty;
    try
    var htmlfile = await Windows.Storage.ApplicationData.Current.LocalFolder.OpenStreamForReadAsync("a.html");
    using (System.IO.StreamReader streamReader = new System.IO.StreamReader(htmlfile))
    htmlstring = streamReader.ReadToEnd();
    webview.NavigateToString(htmlstring);
    catch(Exception ex)
    Debug.WriteLine(ex.ToString());
    在現實生活中,你和誰在一起的確很重要,甚至能改變你的成長軌跡,決定你的人生成敗。 和什麼樣的人在一起,就會有什麼樣的人生。 和勤奮的人在一起,你不會懶惰; 和積極的人在一起,你不會消沈; 與智者同行,你會不同凡響; 與高人為伍,你能登上巔峰。

  • I can't put swf or html files with external files like spritesheets on my website.

    Hello,
    I developed a small test-application for my website. I did this using Flash Builder and Starling.
    My website is created with Adobe Muse, if I try to place the SWF, it gives me an error. If I embed the .html file in an html-object, I get a blank screen.
    Every other swf I created that has no external files such as spritesheets works fine, I can either place it or embed in html.
    I have to say that I did not publish the website yet, as it is useless if I can't show my projects on it, but as I said the normal swf files work and the others not.
    Does anyone have a suggestion or solution?
    There must be one because there are a lot of Starling applications (e.g. Hungry Hero) that are embedded in a website.
    Many thanks.

    Hello,
    I developed a small test-application for my website. I did this using Flash Builder and Starling.
    My website is created with Adobe Muse, if I try to place the SWF, it gives me an error. If I embed the .html file in an html-object, I get a blank screen.
    Every other swf I created that has no external files such as spritesheets works fine, I can either place it or embed in html.
    I have to say that I did not publish the website yet, as it is useless if I can't show my projects on it, but as I said the normal swf files work and the others not.
    Does anyone have a suggestion or solution?
    There must be one because there are a lot of Starling applications (e.g. Hungry Hero) that are embedded in a website.
    Many thanks.

  • External CSS file in HTML export options

    When exporting to HTML from ID CS5.5, is the option for an external css file a link to a file or a url?

    @ mmurphytech4pub, the External CSS allows you to choose a file from your computer. However, you can also mention an http:// URL if you're CSS file is hosted on a web server.

Maybe you are looking for

  • How do I make the view of a pdf from my website open in the original size.

    when someone goes onto my website they can view our latest sales flyer by opening up a pdf. When you open the pdf its really big and needs to be ajdusted to a regular size so it can be read. How do I make my pdf open from my website in a readable siz

  • How to create system tray

    hey, have created my appln but wanted to put it as system tray icon and poping up when clicked. Could you please help me with some class files or JAR ? Thanks!!! Shan

  • Help with 6111 i keep getting 2 messages at start ...

    Hi just wondering if anyone knows what and i how i can get rid of this problem. When i turn my nokia 6111 on and type in my pin and the Nokia startup thing has been show and my wallpaper and everything else has loaded i get 2 messages that i haven't

  • Standalone program utlising 100 percent CPU time

    We are struck with a problem, our standalone program is occupying most of cpu time and limiting existing processes access to cpu. We need to bring down cpu utilization of the process. Java program when run polls to MQ, gets the xml message from mq, s

  • Mac Mail Keeps Crashing after Smart Mail Box setup

    Hi, I was fooling around with the smart mail boxes in Mac Mail, on Mavericks, and now it keeps crashing. Any help would be appreciated. The following id the crash report. I hope this helps. Process:         Mail [958] Path:            /Applications/M