Force used cached/local rather than download "script" each time

in my jsp , i have this
<script language="javascript" src="something.js"></script>
so each time the jsp page is loaded, the browser will gurantee go to the server and download something.js . is there anyway to force something.js to remain in user browser cache as long as possible > 30 days or so... so that the next time user visit the website, this something.js can be skipped and speed up page load time?

I doubt it. Once the user closes his browser, I image the cache is wiped out. Also, it is not likely to keep his browser open for 30 days straight. I don't think this is a good area to look into to speed up your application. Even if you could cache the *.js, I doubt it will speed things up much. In performance tuning, you normally identify the worst bottleneck, fix it, then move on to the next one. Bottlenecks often involve fetching too much data from the database at once (example: fetching all the records from a database table rather than a subset). Also, sending too much information to the display, so much that the user can't possibly use at one viewing. In code, its often creating too many objects.

Similar Messages

  • Is there a way to select MULTIPLE tabs and then copy ALL of the the URLs and titles/or URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; However, I prefer to use a Firefox feature rather than download an add on. Thanks.

    Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?

    Hi LRagsdale517,
    You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
    Please let us know how it goes.
    Best,
    Sara

  • I have a separate apple id and my daughter bought a song using my ID rather than hers.  Now I've got this song that I don't care for and have no use for.  Is there a way to get it to her ID short of burning it on to CD and then uploading it to her phone?

    I have a separate apple id and my daughter bought a song using my ID rather than hers. She was playing on my computer and bought it, thinking it would download to her phone through the cloud. Now I've got this song that I don't care for and have no use for.  Is there a way to get it to her ID short of burning it on to CD and then uploading it to her phone?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Safari always opens a linked file rather than download it.

    Safari always opens a linked file rather than download it. Can't always Right Click for menu option as the web page is not setup that way.
    Have tried trashing the Downloads.plist from the user library. Still no joy.
    Thanks anyone

    Hi guys
    Thanks for suggestions. Carolyn, I did as you suggested but didn't solve problem. KeeChan, as explained in original post, that is my usual fallback but not all web sites work like that. Try downloading Safari - right click (Ctrl Click) on download button and all you get is the "Download.png" image.
    I finally found the answer. A long time ago I had downloaded and used "SpeedDownload" and had deleted it. Somehow, some trace of the app was left behind and the mime association with dmg files was messed up.
    You can not get rid of Speed Download by throwing its files away or by using an app cleaner product. You MUST run the Speed Download installer program and select the "uninstall" option to remove it.
    My browsers now download dmg files correctly.

  • How to set iPhoto to use yahoo webmail rather than mail.app

    When emailing from within iPhoto using the email icon or via the share menu option in the task bar, mail.app launches. I prefer to use (Yahoo) webmail, rather than use an email client, so how do I change this setting?
    Thx in advance.

    Mansel
    Simply: you can’t, I’m afraid. This feature requires an E-Mail Client that supports Apple Script. Yahoo Mail is a service (not an client) that’s accessed via a Web Browser and it’s not Apple Scriptable.
    FYI:
    There are many, many ways to access your files in iPhoto:
    *For Users of 10.5 Only*
    You can use any Open / Attach / Browse dialogue. On the left there's a Media heading, your pics can be accessed there. Apple-Click for selecting multiple pics.
    Uploaded with plasq's Skitch!
    You can access the Library from the New Message Window in Mail:
    Uploaded with plasq's Skitch!
    *For users of 10.4 and 10.5* ...
    Many internet sites such as Flickr and SmugMug have plug-ins for accessing the iPhoto Library. If the site you want to use doesn’t then some, one or any of these will also work:
    To upload to a site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. However, if you're using Gmail you can use iPhoto2GMail
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser.
    *If you want to access the files with iPhoto not running*:
    Create a Media Browser using Automator (takes about 10 seconds) or use this free utility Karelia iMedia Browser
    Other options include:
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    Regards
    TD

  • HT4863 Can I use g-mail rather than outlook?

    Can I use g-mail rather than outlook with icloud?

    Welcome to the Apple Support Communities
    Outlook is a mail program, and Gmail is a mail service. You can't use an iCloud mail with Gmail because Gmail can only be used with Google mail. If you don't want to use Outlook, you can set up your iCloud mail using this information > http://support.apple.com/kb/HT4864?viewlocale=en_US
    Also, you can access to your iCloud email on http://www.icloud.com

  • Why my Firefox v6.02 browser always open *.csv (comma delimited) file in another tab rather than downloading a file? I do not have right click option to save this file.

    My Firefox v6.02 browser always open *.csv (comma delimited) file in another tab rather than downloading a file? I do not have right click option to save this file. My OP is windows XP sp2.

    Hi mha007,
    Go to this site "http://www.nseindia.com/content/indices/ind_histvalues.htm"
    Select any Index type and from dates select just one day or any number of days. Click "Get Details" button. This will open tabular data on loaded page (with link CSV file link at bottom).
    When I click this link, it opens CSV file in new tab (in Firefox browser) and does not open download window (just as in case of other file formats like *.zip, *.rar or *.xls).
    Right-click of link does not give "save as" or "save file" option.
    Firefox is my preferred and default browser.
    ========
    surprisingly, When I do same thing in IE6 browser, data-table page shows 2 options below table, i.e. (1) download file (2) open file.

  • ThreadReaper object used with finalizer rather than finalizer on Timer?

    Timer class has threadReaper object used with finalizer rather than finalizer on Timer itself, can anyone explain the following snippet. what is the advantage of keeping the finalize in its references rathe rthan in the original object itself.
         * This object causes the timer's task execution thread to exit
         * gracefully when there are no live references to the Timer object and no
         * tasks in the timer queue.  It is used in preference to a finalizer on
         * Timer as such a finalizer would be susceptible to a subclass's
         * finalizer forgetting to call it.
        private Object threadReaper = new Object() {
            protected void finalize() throws Throwable {
                synchronized(queue) {
                    thread.newTasksMayBeScheduled = false;
                    queue.notify(); // In case queue is empty.
        };

    skakita wrote:
    Now I am getting something. If some-one subclass the Timer class and they forgot to call the finalize on the Timer... So they have done in this way. Thank u kayaman.Just in case you're interested, that pattern is called a 'finalizer guardian'. You may find it on Google.
    Winston

  • Is it possible to create a drop down menu using form fields rather than text?

    Is it possible to create a drop down menu using form fields rather than text?

    Yes, correct - values of form fields. If one is blank, then the field would be blank - yes? If two or more have the same value that is fine.
    A standard dropdown ... As shown here. If there is an easier way to do this, I'd love to hear your suggestions. Thank you!

  • How to tell AE CS6 to use bundled Mocha rather than Pro?

    I recently upgraded my bundled Mocha from AE CS6 to Mocha Pro 4, but for some unknown reason, it won't let me export shape data in Mocha.  There seems to be no data at all, as even trying to paste in Notepad results in nothing.  Tracking data, however, works fine (both in AE and Notepad).
    Since I cannot figure out any solution in Mocha, the only thing I can do is use bundled Mocha rather than Pro... but I do not know how to tell AE to use bundled Mocha rather than Pro when I click 'Track In Mocha' (...a setting which was changed when Pro was installed).
    Does anyone know where/how I can switch it to Mocha bundled when you click on Track In Mocha?  (or, does anyone have any idea why Pro would not export shape data, whereas the same project in bundled Mocha did?)
    If anyone has any answers or theories, please let me know ASAP, as I have a project I'm trying to complete, and (as luck always has it) the weekend is now upon us, and support is closed over the weekend.

    I tried connecting MBP and TC via Ethernet - after verifying the settings that you suggested - and it does not work: if I turn Airport off, Time Machine says it can't find the TC
    Any other sugestions?
    Ok, then ethernet is not getting an ip address from the TC and is plugged in wrongly..
    You still didn't give me any idea of what actual model the linksys is.. and why is it in the network.. Is it a modem router?? If you have cable internet just throw it away and use the TC.
    If you have the linksys as modem, then bridge it.. turn off wireless and run pppoe client on the TC.
    If the ISP does not allow pppoe client mode then simply use the TC in bridge. Turn off all wireless in the linksys and just use the TC.
    Still need info on how everything is setup to analyse the problem.

  • Possible to "Update" the SDK rather than download entire 1+ GB file?

    Is it possible to "Update" the SDK from an older one rather than download the entire SDK again?
    Thanks

    Short answer: no.
    You would probably have to replace the individual files in the way that you want.
    Just leave the download on overnight if your connection is that slow.

  • [svn:fx-trunk] 7120: Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.

    Revision: 7120
    Author:   [email protected]
    Date:     2009-05-19 23:46:06 -0700 (Tue, 19 May 2009)
    Log Message:
    Switched to using "use namespace mx_internal" rather than using explicit namespace scoping (e.g.,  mx_internal::foo) in RichEditableText and its related classes.
    Removed stale import statements.
    QE Notes: None
    Doc Notes: None
    Bugs: None
    Reviewer: Carol
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as
        flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditable TextContainerManager.as

    I'm more of a 1.3 chick myself, but the words are the same just in a different language.
    1. Is Tomcat running?
    2. Have you configured the ajp13 connector on 8009 in Tomcat? (Should it be ajp13 for Apache 2.0? - I really must upgrade)

  • How can i move songs to my playlists using my iphone rather than computer?

    How can I move songs to my playlist using my iphone rather than my computer?

    @allamb & stephanW
    I found this thread via a search, I have a new iphone 5 (also i am completely new to iphone, having been the last few years on android) and i have spent 20 minutes trying to figure out how to add a song to a playlist.
    You see i sit a work and listen to dozens of tunes, and i want to add a paticular song to a particular play list, and low and behold I can't, excuse my special characters but "What the f#%k itunes/apple??? - how can this be? Such a commonly needed function and for itunes to be the number music player in the world not to have this feature is ludicrus.
    I am lucky that i only have about 500 songs on my iphone thus far, i feel sorry for stephanW with 4000+ !!
    Apple - please fix  - this is schoolboy programming stuff...

  • I want to change the sharing and permissions of a large number of photos. How can I do this in bulk rather than one at a time?

    I want to change the sharing and permissions of a large number of photos. How can I do this in bulk rather than one at a time?

    Does this involve iPhoto in some way?

  • Screen Saver doesn't allow SOURCE SELECTION but automatically begins to download unknown files. I have to force quit, but it does the same thing each time I try to select a source.

    Screen Saver doesn't allow SOURCE SELECTION but automatically begins to download unknown files. I have to force quit, but it does the same thing each time I try to select a source.

    Do you realize that you're talking to yourself?
    iMac refurb (27-inch Mid 2011), OS X Mavericks (10.9.4), SL & ML, G4 450 MP w/Leopard, 9.2.2

Maybe you are looking for

  • How to trace an ApEx page processes(anonymous PL/SQL) submited by any user?

    Dear Friends; can I trace an ApEx page processes (anonymous PL/SQL code step by step) submitted by any user? could you explain in detail, please? regards Siya Edited by: sak on Feb 3, 2012 1:07 AM

  • J2EE no longer loads

    I had J2EE running for about an hour and I can no longer bring it up. J2ee loaded fine. I could see localhost:8000 in my browser. I tried to deploy the ConverterApp demo so I could test out J2EE. When I clicked on "Generate SQL," the deploytool froze

  • Disable User on Active Directory in a Workflow

    I have to disable a user on AD. I must disable it in a Workflow calling the Disable User or Disable User Primitive. I have two questions: 1. Do I have to use Disable User or Disable User Primitive? 2. What do I have to pass in arguments?

  • Return binary file in table entry

    Hi all, I wish to create RFC which will return in a table the binary code of a certain output (customer invoice). The motivation is that it'd be called by COM Object from external script and using "BinaryWrite" it will open Acrobat Reader and display

  • Web Service model vs JavaBean Model

    Hi there, My business logic is made with EJBs ... and now i'd like to know the pros and cons between working with the javabean model or make available my Ejbs as Web service and use the webservice model ? Regards, Frantz