Caching documents generated from url which are dynamic

have got a couple of questions on cahcing documents.
1)can we cache web pages that are generated by dynamic urls?? By dynamically generated URL I mean this, say for istance a person views a page with a url "http://my.site.com/tag.222222_uP" and logs out of the application. The sesond time he logs in he gets to see the same page but this the the servlet would generate a different url http://my.site.com/tag.11111_uP, but spits the same content when the page was hit the previous time another page evry time. The content again will very for diferent users. This page does not use any cookies though.
2)The content that is displayed to a user changes depending on the user priviliges. The URL to the page still remains the same though. It is the content that will vary. Can such pages be cached? which cache rule do such pages follow??
Thanks in advance for any help and ur time.
Lakshmi B.

Lakshmi,
Find answers inline.
have got a couple of questions on cahcing documents.
1)can we cache web pages that are generated by dynamic urls?? By dynamically generated URL I mean this, say for istance a person views a page with a url "http://my.site.com/tag.222222_uP" and logs out of the application. The sesond time he logs in he gets to see the same page but this the the servlet would generate a different url http://my.site.com/tag.11111_uP, but spits the same content when the page was hit the previous time another page evry time. The content again will very for diferent users. This page does not use any cookies though.
yes, by setting up cacheablity rule in Web Cache using the wildcards (like ^/tag*), the above dynamic urls can be cached. This rule would treat every dynamic url as distinct and separate content will be cached for every url. i.e http://my.site.com/tag.222222_uP separately and http://my.site.com/tag.11111_uP
if the user information is maintained in the session, this could be better done with session management feature of Web Cache.
2)The content that is displayed to a user changes depending on the user priviliges. The URL to the page still remains the same though. It is the content that will vary. Can such pages be cached? which cache rule do such pages follow??This is possible, if you could embed user information inside the url.
say like http://my.site.com/getcontent?user=abc
The cacheablity rule for this would be ^/getcontent* . Alternately, you can also use cookies store the user information and set that while defining the cacheablity rule.
Also, if there is some portion of the content which is displayed to all the users, are alike, you can split the content into fragments. So that common portion of the content will fall into one fragment and the differing content would fall into another fragment. By doing so, web cache would cache the fragment separately, and for every user request, web cache would send app server request to fetch the differing content alone. This is possible, because of the ESI technology supported in Oracle9iAS Web Cache.
Look at this page for samples on Web Cache and ESI
http://otn.oracle.com/sample_code/products/ias/web_cache/content.html
Regards,
-Srikanth

Similar Messages

  • FI documents generated from RE-FX are not being summarized

    The Fi documents generated from periodic posting in RE-FX are not being summarize, even thou the have the same customer, the same flow type and account determination.
    I checked the corresponding customizing Item related and the seem to be right. The system seems to be skiping  this.
    I have 2 conditions in the RE contract that goes to the same flow type and account determination but the document is generated with the two separated line item.
    Tanks in advance
    Noel.

    Hi Noel,
    I guess you have already checked your customizing.
    If you are technically interested you may have a look into the
    coding to see which fields are checked and must be equal for
    summarization.
    class: CL_RERA_DOC_ITEM_CNDS
    method: CONDENSE_APAR_ITEMS
    If you set a breakpoint there and follow the program you may see why the items are not condensed.
    Regards, Franz

  • Delete records from tableA which are not in tableB

    Table A contains milions of records which is the best way to delete records from tableA which are not in tableB
    delete from tableA where empno not in (select empno from tableb)
    or
    delete from tableA where empno not exists (select empno from tableb
    where b.empno=a.empno)
    any help

    Hi
    If you can do this, do with this:
    create table tableC
    as select a.*
    from tableA a,
    (select empno from tableA
    minus
    select empno from tableB) b
    where a.empno = b.empno;
    drop table tableA;
    rename table tableC to tableA;
    Ott Karesz
    http://www.trendo-kft.hu

  • Delete Rows from T1 which are Not in T2

    Hi
    I've 2 Tables like below
    T1
    N1
    N2
    2
    11
    2
    22
    3
    33
    8
    44
    8
    88
    T2
    N1
    N2
    2
    22
    8
    88
    If I Run Delete query, I must delete Rows from T1 which are Not in T2
    For example, I must delete Rows 1,3,4 from T1
    So how to write that delete query? Please advice

    Delete from T1
    Where not Exists (select * from T2 Where t1.N1=t2.N1 and t1.N2=t2.N2)
    --or
    Delete t
    From t1 t
    left JOIN t2 m
    ON m.N1=t.N1 and m.N2=t.N2
    WHERE m.N1 is null and m.N2 is null
    --Or
    ;With mycte as
    select N1,N2 from T1
    Except
    select N1,N2 from T2
    Delete t
    From t1 t
    INNER JOIN mycte m
    ON m.N1=t.N1 and m.N2=t.N2

  • How to delete the messages from SXMB_MONI which are already cancelled .

    Hi All,
    The messages were earlier in System error(Red flag) state so i cancelled it manually.
    I want to know how to delete the messages from sxmb_moni which are already cancelled manually using ctrl+f8.
    if not possible , then i want to see them in earlier state i.e.., in System error(Red flag).
    can any tell me the procedure of doing it.
    thanks
    Sai.

    Hi AmitSri,
    Thanks for u r reply,
    What is retention period, where can i find this option.
    And i don't have authorizations to sxmb_adm --> configure delete procedure
                                                                             --> Define interfaces for archiving and retention period.
    and to RSXMB_DELETE_MESSAGES in se38 , i don't have authorizations to run
    Is there any way to delete the messages or make them to System error( Red flag) which are manually cancelled.
    Thanks
    Sai.
    Edited by: sai_SHA on Aug 17, 2011 12:29 AM

  • Hi I currently update my iPad 2 to iOS, I had a number of films that purchased from my iPad from itunes, which are no longer in my iTunes or on my computer. How do I go about retrieving theses films?

    Hi I currently update my iPad 2 to iOS, I had a number of films that purchased from my iPad from itunes, which are no longer in my iTunes or on my computer. How do I go about retrieving theses films?

    Movies are not re-downloadable anywhere but in the US at present, so unless you are indeed in the US, you'll need to restore the movies from your backup.
    Regards.

  • Using the new iPad, what's the best way to watch video files (away from home) which are stored on a NAS (WD My Book Live)? Any help would be appreciated!

    Using the new iPad, what’s the best way to watch video files (away from home) which are stored on a NAS (WD My Book Live)?  Any help would be appreciated!

    Before you go, move the files to I tunes and sync them down.  There is no viable way to stream from your nas drive to the pad.

  • Sp_who2 -need only active sessions from users which are not the background sessions

    Hello,
    sp_who2 -need only active sessions from users which are not the background  sessions
    Please assist.
    Best regards,
    Vishal

    Its better to use DMV's to view only active sessions from users (spid>50) as mentioned by Shanky.
    You can do that using sp_who2 but it requires a bit of programming to list only user sessions.
    SELECT
    S.SESSION_ID,
    S.STATUS,
    S.HOST_NAME,
    C.CLIENT_NET_ADDRESS,
    CASE WHEN S.LOGIN_NAME = S.ORIGINAL_LOGIN_NAME THEN S.LOGIN_NAME ELSE S.LOGIN_NAME END LOGIN_NAME,
    S.PROGRAM_NAME,
    C.CONNECT_TIME,
    S.LOGIN_TIME,
    CASE S.TRANSACTION_ISOLATION_LEVEL
    WHEN 0 THEN 'UNSPECIFIED'
    WHEN 1 THEN 'READUNCOMITTED'
    WHEN 2 THEN 'READCOMMITTED'
    WHEN 3 THEN 'REPEATABLE'
    WHEN 4 THEN 'SERIALIZABLE'
    WHEN 5 THEN 'SNAPSHOT'
    ELSE CAST(S.TRANSACTION_ISOLATION_LEVEL AS VARCHAR(32))
    END AS TRANSACTION_ISOLATION_LEVEL_NAME,
    S.LAST_SUCCESSFUL_LOGON,
    S.LAST_UNSUCCESSFUL_LOGON,
    S.UNSUCCESSFUL_LOGONS,
    S.CPU_TIME AS CPU_TIME_MS,
    S.MEMORY_USAGE AS MEMORY_USAGE_PAGES,
    S.ROW_COUNT,
    S.PREV_ERROR,
    S.LAST_REQUEST_START_TIME,
    S.LAST_REQUEST_END_TIME,
    C.NET_TRANSPORT,
    C.PROTOCOL_TYPE,
    S.LANGUAGE,
    S.DATE_FORMAT,
    ST.TEXT AS QUERY_TEXT
    FROM
    SYS.DM_EXEC_SESSIONS S
    FULL OUTER JOIN SYS.DM_EXEC_CONNECTIONS C ON C.SESSION_ID = S.SESSION_ID
    CROSS APPLY SYS.DM_EXEC_SQL_TEXT(C.MOST_RECENT_SQL_HANDLE) ST
    WHERE
    S.SESSION_ID IS NULL
    OR S.SESSION_ID > 50
    ORDER BY
    S.SESSION_ID
    -Prashanth

  • Need to Download documents from Km which are shown thru Navigation iview

    HI,
    I have created a KM navigation Iview and gave the path of documents which are stored in KM.
    Now the documents are in KM and can be shown by this iview.
    When i click on any document, it is getting opened automatically.
    But i dont want this way, when the user clicks on document a pop-up should be given to download the document.
    can i know how is it possible?
    Also just beside the document, when i click on breadcrumb i can see many options like save, copy, rename....etc.
    where i dont what to shown this all options beside documents.
    Can you please tell me how to remove this breadcrumb for some particular documents.
    Regards,
    Raju
    Edited by: V R K Raju P on Jul 20, 2009 7:30 PM
    Edited by: V R K Raju P on Jul 20, 2009 7:31 PM

    Hello, you can achieve this creating a custom layout set. To do so, go to
    System Administration > System Configuration > Knowledge Management > Content Management > User Interface > Settings > Layout Set
    Choose a layout set - Consumer Explorer for example - check it and select Advanced Copy
    Under Scope of Duplication leave only Collection Renderer Settings checked
    Under Naming Conventions fill the blanks as your needs (I usually add company name as prefix)
    Click on Execute, your layout set is now created.
    Search for it and click to display its properties, there you'll find the four main items that compose a LayoutSet:
    - Layout Controller
    - Collection Renderer
    - Resource Renderer
    - Commands for Details Menu
    You wanna work on the Collection Renderer, notice it's a custom one created during the copy. Select it to edit to chage settings.
    Put the following entry under Displayed Properties:
    rnd:icon,rnd:displayname(contentLink),rnd:command(command=download/style=icon),contentlength,modified
    Save.
    On your KM Navigation iView set the Layout Set property with this one you've just created.
    This should do the basics you're asking:
    - a link to download the documents
    - no context menu with undesired commands
    In this scenario I've eliminated complety the context menu, if you want to have the menu with just
    some options you must work on UI Commands and UI Commands Group, which I suggest doing after
    you have basics knowledge on layout sets only..
    You can find on SDN lots of documents and threads about KM User Interface, have a special look into Layout Set, Collection Renderers and UI Commands/Groups
    kind regards,
    Rafael

  • No accounting document generated from SD

    Dear Friends,
    When I am creating Billing document from SD using VF01 tranacstion, I am getting error message that "Document 90000028 saved (no accounting document generated)", but I had activated all config between IS-U FI-CA and SD.
    I hope the billing document is getting generated, but it's not posting and creating the accounting document in FICA side.

    Hi ,
    There might be 2 reasons why the SD document doesnt post to FICA .
    1. Maintainence of relevant configuration under the node - SPRO - Financial accounting New - Contract accounting receivable and payable - Integration - Sales and distribution .
    Hope you have maintained all the relevant configs. under the node ( 3 in no's ) .
    2. Secondly if there is an error while determining the accounts for posting the billing documents , you can view the same through document details , where in you can view the documents that are being generated for the same .
    Kindly check the 2 areas and revert back if the problem still persists .
    Cheers ,
    Dewang

  • Read from File which is dynamically updated

    Hello all
    Is there any class for reading from a file which is dynamically updated?and those updates are immediatley reflects in java File object without closing previous and reopen that file again to get the latest updates?
    thanks
    sjafery

    I meant RandomAccessFile

  • How to delete images from folder which are not in the database

    I am created windows form
    i wont to delete images from the folder where i have stored images but i only want to delete those images which are not in the data base.
    i don't know how it is possible . i have written some code
    private void button1_Click(object sender, EventArgs e)
    string connectionString = "Data Source";
    conn = new SqlConnection(connectionString);
    DataTable dt = new DataTable();
    cmd.Connection = conn;
    cmd.CommandText = "select * from tbl_pro";
    conn.Open();
    SqlDataAdapter da = new SqlDataAdapter(cmd);
    da.Fill(dt);
    int count = Convert.ToInt32( dt.Rows.Count);
    string[] image1 = new string[count];
    for (int i = 0; i < count; i++)
    image1[i] = dt.Rows[i]["Image1"].ToString();
    string[] image2 = new string[count];
    for (int i = 0; i < count; i++)
    image2[i] = dt.Rows[i]["Image2"].ToString();
    var arr = image1.Union(image2).ToArray();
    string[] arrays;
    String dirPath = "G:\\Proj\\";
    arrays = Directory.GetFiles(dirPath, "*", SearchOption.AllDirectories).Select(x => Path.GetFileName(x)).ToArray();
    int b= arrays.Count();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    var del = arrays[j].ToString();
    else
    foreach (var value in del) // ERROR DEL IS NOT IN THE CURRENT CONTEXT
    string filePath = "G:\\Projects\\Images\\"+value;
    File.Delete(filePath);
    here error coming "DEL IS NOT IN THE CURRENT CONTEXT"
    I have to change anything .Will It work alright?
    pls help me
    Sms

    Hi Fresherss,
    Your del is Local Variable, it can't be accessed out of the if statement. you need to declare it as global variable like below. And if you want to collect the string, you could use the List to collect, not a string.  the string will be split to chars
    one by one.
    List<string> del=new List<string>();
    for (int j = 1; j <= b; j++)
    if (arrays[j].ToString() != arr[j].ToString())
    del.Add(arrays[j].ToString());
    else
    foreach (var value in del)
    string filePath = "G:\\Projects\\Images\\" + value;
    File.Delete(filePath);
    If you have any other concern regarding this issue, please feel free to let me know.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I get a birthday reminder from items which are in the read-only cal

    I am looking for a solution to get a reminder message for birtdays which are within the read-only calender imported/updated from he address book. I so far have not found the option where to turn on the reminder and I do not want to duplicate items (ie creating another birthday calender inside iCal).
    Thanks for comments.
    PB G4 Ti, 1GHz, 10.2.8   Mac OS X (10.4.7)  

    Hi ontour,
    This limitation is one of the many reasons I wrote Dates to iCal. It is a replacement for the Birthdays calendar in iCal, so you would need to turn the Birthdays calendar off in iCal's preferences.
    See here: http://discussions.apple.com/thread.jspa?threadID=466478
    Best wishes
    John M

  • Emails are Blocked from domains which are added to "BypassedSenderDomains" in Exchange 2007 Edge server

    Hi,
    We have an Exchange server 2007 and an Edge server 2007 is configured in the perimeter network. Most of our clients use Public email domains such as Yahoo and Gmail. Last few weeks it has been a  major issue for us that most of the emails from Yahoo/Gmail
    get blocked by our Edge server calming the sender IP address is in Block Lists.
    As a solution I've added yahoo.com/gmail.com/aol.com/hotmail.com to "BypassedSenderDomains" hoping if emails receive from one of these domains it will bypass the connection filtering. But still some of our customers complain that their emails are
    still not passing to us and blocked by our edge server. They have provided me the error message they receive.
    Our clients get following error message
    edgexch gave this error: Recipient not authorized, your IP has been found on a block list
    Your message wasn't delivered due to a permission or security issue. It may have been rejected by a moderator, the address may only accept e-mail from certain senders, or another restriction
    may be preventing delivery.
    550 5.7.1 Recipient not authorized, your IP has been found on a block list 
    When I check the Agent logs in Edge server  I found specific email had been blocked. Please check one of the log entry.
    Timestamp       : 1/30/2014 1:45:15 PM
    SessionId       : 08D0E865200E7CBF
    IPAddress       : 98.139.213.140
    MessageId       :
    P1FromAddress   : Sender Email Address (@yahoo.com)
    P2FromAddresses : {}
    Recipients      : {Recipient  Email address}
    Agent           : Connection Filtering Agent
    Event           : OnRcptCommand
    Action          : RejectCommand
    SmtpResponse    : 550 5.7.1 Recipient not authorized, your IP has been found on a block list
    Reason          : BlockListProvider
    ReasonData      : bl.spamcop.net
    This troubles me because I've added Yahoo.com to "BypassedSenderDomains" on 1/28/2014 and this email was blocked on 1/30/2014. I've checked whole Agent logs from 28th to-date and found most of the messages from white-listed domains  bypassed
    the content filtering but some were  still getting blocked. Most of the messages from white-listed domains were blocked from "bl.spamcop.net " IP block list provider.
    As a solution for the current situation I've disabled "bl.spamcop.net" from the "IP block List Providers". But the issue is, why the mails are getting blocked even the domains were white-listed. I though after white-listing emails domains,
    messages will bypass the content filters if the email generates from one of the white-listed email domain.
    I've also added the "Content Filter Config" for your reference.
    [PS] C:\Windows\system32>Get-ContentFilterConfig
    Name                                                              
    : ContentFilterConfig
    RejectionResponse                                         
    : Message rejected as spam by Content Filtering.
    OutlookEmailPostmarkValidationEnabled   
    : True
    BypassedRecipients                                       
    QuarantineMailbox                                        
    : [email protected]
    SCLRejectThreshold                                     
    : 7
    SCLRejectEnabled                                        
    : False
    SCLDeleteThreshold                                     
    : 9
    SCLDeleteEnabled                                        
    : False
    SCLQuarantineThreshold                              
    : 5
    SCLQuarantineEnabled                     
    : True
    BypassedSenders                                           
    BypassedSenderDomains                              
    : {yahoo.com, gmail.com, hotmail.com, aol.com}
    Enabled                                                          
    : True
    ExternalMailEnabled                  
    : True
    InternalMailEnabled                  
    : False
    AdminDisplayName                     
    ExchangeVersion                      
    : 0.1 (8.0.535.0)
    DistinguishedName                    
    : CN=ContentFilterConfig,CN=Message Hygiene,CN=Transport Settings,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,CN={4546F49-6BC5-4F7A-848F-03E4652528A6}
    Identity                             
    : ContentFilterConfig
    Guid                                 
    : c501959c-b062-4f59-8f0c-404c53f54a34
    ObjectCategory                      
    : CN=ms-Exch-Message-Hygiene-Content-Filter-Config,CN=Schema,CN=Configuration,CN={4546F4196BC5-4F7A-848F-03E4652528A6}
    ObjectClass                          
    : {top, msExchAgent, msExchMessageHygieneContentFilterConfig}
    WhenChanged                                                           
    : 1/28/2014 8:48:49 PM
    WhenCreated                                                 
    : 1/8/2012 8:42:18 PM
    OriginatingServer                                           
    : localhost
    IsValid                                                           
    : True
    It would be great if someone could help me to resolve this issue because this is a major problem since we lost mails from our valuable customers.
    Thanks in advance.
    Tharaka

    Here is a similar issue someone with Exchange 2010 -
    http://social.technet.microsoft.com/Forums/exchange/en-US/36aec4f6-6d73-4d71-ab64-e7f3d817b39b/exchange-2010-still-blocks-mail-from-domain-on-dnsbl-even-though-its-on-bypassedsenderdomain?forum=exchange2010.  So in essence, use the exceptions tab for
    the IP Block List Providers.  See if that will work as a solution for you.
    JAUCG - Please remeber to mark replies as helpful if they were or as answered if I provided a solution.

  • Permanantly removing vendor from sap which are set for deletion flag

    Hai Pals,
    I want step by step explanation of how to delete vendors which are marked for deletion.I have check the forum & got only transaction code SARA & Archiving object FI_ACCPAYB.I dont know hau to proceed further please give some explanation to proceed further

    Archiving is done from transaction SARA.
    Enter the object, then hit enter.
    to get the object specific steps, these are process from top to down. 
    You have to do the customizing first, which can be done from SARA transaction as well.
    Follow the link to the very details.
    See the menu on the left, expecially the first knot "Introduction to Data Archiving (CA-ARC)"
    http://help.sap.com/saphelp_erp2005/helpdata/en/ba/4b68b8327911d2a25c0000e8a5f24f/frameset.htm

Maybe you are looking for