Is there any way to disable caching for a particular component?

I have a component which should always produce the output by executing a code and not from the dispatcher cache.
Is there any way to clear the dispatcher cache for the component or is it possible to disable the component caching.

Praveen-
The dispatcher caches the entire HTTP response body, so doing what you are describing actually requires two steps:
1) Loading the non-cacheable component through Ajax (or some other edge side assembly technology like ESI)
2) Including the Dispatcher: no-cache header in the response when that component is requested.
#1 is pretty easy to do with jQuery
#2 is covered here: http://dev.day.com/content/kb/home/Dispatcher/faq-s/DispatcherNoCache.html
You will probably want to use the WCMMode to only do the dynamic loading on the publish server.
HTH,
Justin

Similar Messages

  • Is there ANY way to disable internet for specific wired MACs?

    I have been looking for a way to restrict specific MAC addresses from routing to the internet with my AEBS. The Access tab is labeled that it allows internet access for only the MACs in the list which is incorrect, it restricts connections to the AEBS entirely (not just to the internet).

    That is correct - Access Control cannot be used to limit wireless clients from accessing just the internet. Access Control also has no influence at all on restricting access by wired clients - it only influences connections by wireless clients.
    I assume the purpose of this is to find a way for a parent to limit internet access from one of their child's computers? If so, you should instead use software on the Mac itself, like the MacOS 10.4 "parental controls" feature.

  • Is there any way to disable preview-icons & fileinfo for connected drives?

    Is there any way to disable preview-icons & fileinfo for connected drives?
    i.e. when i'm connecting to SMB share, and i see .mp4 file, i see icon change to video-frame.
    and when i see folder, i see "5 items"
    and i wanna disable it per-dir or per-connect.

    Praveen-
    The dispatcher caches the entire HTTP response body, so doing what you are describing actually requires two steps:
    1) Loading the non-cacheable component through Ajax (or some other edge side assembly technology like ESI)
    2) Including the Dispatcher: no-cache header in the response when that component is requested.
    #1 is pretty easy to do with jQuery
    #2 is covered here: http://dev.day.com/content/kb/home/Dispatcher/faq-s/DispatcherNoCache.html
    You will probably want to use the WCMMode to only do the dynamic loading on the publish server.
    HTH,
    Justin

  • Is there any way to disable face recognition in the latest Yosemite update for Photos?

    Is there any way to disable face recognition in the latest Yosemite update for Photos?

    Ingenico has a 1D Bluetooth barcode scanner certified MFi by Apple.
    http://baracoda.ingenico.com/Baracoda-i-fly.aspx
    Baracoda i-Fly is compatible with Apple iPod touch, iPhone and iPad.
    Baracoda i-Fly supports IAP Bluetooth profile and is MFi certified, which means it is 100% compatible with Apple development standards and performances.
    Its Bluetooth connection is bidirectional, which enables the i-Fly to transmit data both ways in mode « No Data Loss »).
    Furthermore, Firmware update is also possible, which is not the case for non-MFi certified devices.

  • Is there any way to disable right click and drag and drop for photos on iweb?

    Re: protecting photos when using iweb as your web designer...
    Is there any way to disable right click and drag and drop for photos using iweb?  I have seen tutorials about creating a text box around each image - but is there a better way? 

    However, there is no way you can prevent someone from making a screenshot of the image as it is displayed on the screen no matter what application you use to create the web page.
    You can add a watermark to dissuade the casual "thief" but those who are serious about stealing the photo for their own use can remove the watermark with some effort.
    OT

  • Is there any way to disable update check for a specific add-on?

    There are a few add-ons I have problems with their latest versions. So i don't want to update them. But everytime there are any updates for other add-ons they also appear and need to be unchecked. Is there any way to disable update just for them permanently?

    Yes, but it is not straightforward. For details see [http://kb.mozillazine.org/Updating_add-ons Updating add-ons - MozillaZine Knowledge Base]

  • Is there any way to disable the objects owned by a user?

    Hai every body....My problem is..
    I had created 60 users granting them connect and resource privileges in oracle(8.1.5.0.0).All of the users are working under their logins(users)...Every thing is going fine...But now i wanted to disable the objects owned by those users
    (60 Users) for a period of 2 days,After that i wanted to enable them....Is there any way to disable the objects owned by them with out dropping the users?(The users should be able to work as prevoiusly on the new objects they will create after i disabled the objetcts owned by them previously)?

    hi
    if my understanding is right you want to disable the users for 2 days for any reason let say he is on holiday for 2 days then why dont u lock this user and submit the job for unlock after two days.
    Khurram Siddiqui
    [email protected]

  • Question:-Is there any way to disable the installation location/folder of da Adobe AIR Application?

    Is there any way to disable the installation location/folder of the Adobe AIR Application or can we skip that part automatically?

    xmlns:mx="library://ns.adobe.com/flex/mx"  is the spark mx address, which is completely different than the original 2006 mx library. 
    The thing is:  I love AIR, hate spark, loved the 2006 pre-spark functionality.  It is so much more convenient and user friendly.  Given the choice between having the display seperate from the  processing, or having it be convenient and easy  to work with, I choose the later option.
    For the most part it seems like the AIR api is like a layer on top of the spark - flex system..   I would like to be able to over lay the same AIR functionality on top of the the old system....
    Possible or no?

  • Is there any way to disable the use of the "Delete" key to delete an email message?

    It's very frustrating when I hit the delete key and iCloud automatically erases the selected email message.  I receive some HTML formatted emails that include a text box that I can utilize to directly reply to something.  If I don't make any mistakes at all, I can utilize this box and post a reply.  But if I mess up and need to delete text, instead of deleting text iCloud deletes the email message.  Is there any way to disable this?
    Thanks for your help.

    I don't believe it's possible to disable the delete key, but could be wrong. However, if you delete an email in error, you can restore it by pressing cmd + Z to undo the deletion.

  • Auto correct is making me look like an idiot. I have to go back and psychically spell check my documents now. Is there any way to disable it?

    Auto correct on my desktop Mac is making me look like an idiot. After I type it's changing words into other words I never typed and it even pushes words together that I'd typed a space in between in order to create new words that I never typed which make absolutley no sense.
    Now after I type a document I have to go back and psychically spell check my entire document the old fashioned way to make sure auto-correct isn't making me look like a clown who can't spell.
    Is there any way to disable "auto correct" on the desktop MAC and still keep spell check running?
    The amount of messages I've sent out with horribly misspselled words or errrors as a result  is maddening.
    HELP!!!
    Running OSX 10.9.1

    I had turned off auto-correct in the keyboard preferences, but in Mail all my spelling and grammer choices were grayed out.  The key for me — as Kingoftypos points out — was "For Mail, open a new message/reply/forward. Then go to the Edit menu and scroll down to the Spelling/Grammar."
    It would never have occurred to me to open a new message to be able to change the settings.
    Thanks, King

  • Is there any way to disable the firefox search option when you long press the home button on Samsung Galaxy S5 Active?

    I have an S5 Active and sometimes the home button sticks and registers as a long press which brings up Firefox search instead of going to the home screen. Is there any way to disable Firefox Search so that this doesn't happen. I Love the Firefox browser but if this keeps happening I will have to uninstall it.

    hello djpianalto, you could clear the default settings for firefox on android within the system settings (like described in this [http://www.howtogeek.com/195885/how-to-set-and-clear-a-default-app-on-an-android-device/ external article]).
    or try an app like https://play.google.com/store/apps/details?id=hk.sld.SwipeLaunchDisabler

  • Is there any way to disable paid downloades on itunes

    Is there any way to disable paid downloades on itunes. I will never load paid apps.

    iPadDude15 wrote:
    Is there any way to disable paid downloades on itunes. I will never load paid apps.
    Yes.  Edit > Preferences > Parental, and check the box for "Disable - iTunes Store."
    Also, go into your account payment information, and make sure the credit card is set to "None."

  • Is there any way to disable USB charging on N8?

    It might be a strange question. But many time, my battery still nearly full and I just want to transfer a couple of files. When I plug the cable in, it start charging right away. This may makes battery deteriorate faster. Therefore, is there any way to disable USB charging? Thanks!

    charging by usb isn't a problem , modern batteries do not suffer 'memory effect' just do what you want to do and don't worry about it . My N97 is connected to laptop most nights for anything from 10 minutes to an hour , no battery problem in 18 months and left on charge overnight every night . Enjoy your new phone and don't worry about a problem that doesn't exist
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Is there any way to disable runtime schema validation

    At runtime Kodo appears to validate that all of the tables and columns
    referenced in the mapping table exist in the datebase. Is there any way
    to disable this. It takes an extremely long time for the validation to
    complete and although it may be useful during certain stages of
    development or to verify a new deployment it isn't really all that
    desirable.
    Thanks,
    -Marc Sheftel

    Thanks!
    Abe White wrote:
    On Tue, 16 Sep 2003 11:44:36 -0500, Marc Sheftel wrote:
    At runtime Kodo appears to validate that all of the tables and columns
    referenced in the mapping table exist in the datebase. Is there any way
    to disable this.
    kodo.jdbc.SchemaFactory: dynamic
    Note that when using the dynamic schema factory Kodo can't detect foreign
    keys.

  • HT1391 is there any way to disable my iphone that has been stolen when it is not longer used as an active phone?

    I was using an old iPhone just for listening to music in my car. That was stolen when my car was broken into. Even though it is no longer used as a phone, there is still contact info on there that I do not want the thief to get a hold of. Is there any way to disable that device if i know the serial number>

    Thanks for your reply. That is what I feared. I never signed up for iCloud service because I was going to get a different phone around the time iCloud came about... oh well, it is what it is. At least I removed all Contact info on it at the time because I wanted to maximaze the space I needed for music!
    Thanks again.
    AGC

Maybe you are looking for

  • After Deleting delivery the Qty still remains reserved

    Once you delete a delivery in sap ,the qty of the delivery item should be transformed into open qty for the future dellviery.But this is not happening  as on sale order in the schedule line in tab it still shows "delivered items like 40" altough the

  • Cannot access my external hard drive!

    A few month ago when I was transferring my files from a PC via a Seagate external hard drive (originally formatted on that PC) to my then new Intel iMac OS X 10.5.6, I made a newbie mistake in not properly "dismounting" before I pulled the USB. Now I

  • How to use BEX query in BI data archiving?

    I see some power point presentations about  the use of BEX query in the archiving customizing setting. But the presentations have no text about the details. Can somebody help detail how to use BEX to customize archiving objects? Thanks!

  • Customizing the Wiki sidebar step by step

    I'm having severe problems with my Wiki-setup. Frankly the worst Apple-experience in my entire life. When I'm done with this thread, I'm certain that a lot of other people will have an easier time configuring a custom sidebar in their own Wiki. At th

  • SAP JVM update to latest version in NW 7.31 Java only stack

    Hi ALL, Can I know what is the procedure involved updating JVM? As there is no JSPM in 7.31 what are the options to update? I tried by extracting SAR file and changing version in parameter file but it wasn't successful. After changing to latest versi