Forum Discussion

eko_a_silitonga's avatar
eko_a_silitonga
Icon for Nimbostratus rankNimbostratus
Apr 30, 2014

How to remove some object in ramcache

helo there, I am still new to using F5 Firewall, I want to ask is there any way or command to delete an existing object in the ram cache, but not the whole cache. Because I made ​​some changes to certain files and just want to remove it in the cache so that changes can be seen directly on the client. I am using BIG IP 11.4.0 thank you and sorry for my bad english.

 

  • Have you tried this article?

     

    http://support.f5.com/kb/en-us/solutions/public/13000/200/sol13255.html

     

    /Patrik

     

  • it seems okay here.

    e.g.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching
    Ltm::Ramcaches /Common/optimized-caching
    
    Host: 172.28.24.10
    URI : /f5.gif
    --------------------------------------
      Source Slot/TMM  1/1
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     4279
      Hits             6
      Received         2014-05-01 07:33:44
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:49
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/0
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     386
      Hits             14
      Received         2014-05-01 07:33:03
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:08
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    Total records returned: 2
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) delete ltm profile ramcache optimized-caching uri /f5.gif
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching
    Ltm::Ramcaches /Common/optimized-caching
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/0
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     386
      Hits             14
      Received         2014-05-01 07:33:03
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:08
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    Total records returned: 1
    
  • it seems okay here.

    e.g.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching
    Ltm::Ramcaches /Common/optimized-caching
    
    Host: 172.28.24.10
    URI : /f5.gif
    --------------------------------------
      Source Slot/TMM  1/1
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     4279
      Hits             6
      Received         2014-05-01 07:33:44
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:49
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/0
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     386
      Hits             14
      Received         2014-05-01 07:33:03
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:08
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    Total records returned: 2
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) delete ltm profile ramcache optimized-caching uri /f5.gif
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching
    Ltm::Ramcaches /Common/optimized-caching
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/0
      Owner Slot/TMM   1/1
      Rank             1
    
      Size (bytes)     386
      Hits             14
      Received         2014-05-01 07:33:03
      Last Sent        2014-05-01 07:33:45
      Expires          2014-05-02 07:23:08
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    Total records returned: 1
    
  • Are you able to remove the entries for the root too ("/")?

    this is mine.

    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching uri /
    Ltm::Ramcaches /Common/optimized-caching
    
    Host: 172.28.24.10
    URI : /f5.gif
    --------------------------------------
      Source Slot/TMM  1/1
      Owner Slot/TMM   1/1
      Rank             0
    
      Size (bytes)     4278
      Hits             2
      Received         2014-05-03 05:44:55
      Last Sent        2014-05-03 05:44:56
      Expires          2014-05-04 05:34:58
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/1
      Owner Slot/TMM   1/1
      Rank             0
    
      Size (bytes)     385
      Hits             2
      Received         2014-05-03 05:44:55
      Last Sent        2014-05-03 05:44:56
      Expires          2014-05-04 05:34:58
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    
    Host: 172.28.24.10
    URI : /
    --------------------------------------
      Source Slot/TMM  1/0
      Owner Slot/TMM   1/1
      Rank             0
    
      Size (bytes)     385
      Hits             0
      Received         2014-05-03 05:44:55
      Last Sent        2014-05-03 05:44:55
      Expires          2014-05-04 05:34:58
      Vary Type        none
      Vary Count       1
      Vary User Agent  none
      Vary Encoding    none
    Total records returned: 3
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) delete ltm profile ramcache optimized-caching uri /
    
    root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) show ltm profile ramcache optimized-caching uri /
    Ltm::Ramcaches /Common/optimized-caching
    Total records returned: 0