{ Community }
  • Academy
  • Docs
  • Developers
  • Resources
    • Community Articles
    • Apigee on GitHub
    • Code Samples
    • Videos & eBooks
    • Accelerator Methodology
  • Support
  • Ask a Question
  • Spaces
    • Product Announcements
    • General
    • Edge/API Management
    • Developer Portal (Drupal-based)
    • Developer Portal (Integrated)
    • API Design
    • APIM on Istio
    • Extensions
    • Business of APIs
    • Academy/Certification
    • Adapter for Envoy
    • Analytics
    • Events
    • Hybrid
    • Integration (AWS, PCF, Etc.)
    • Microgateway
    • Monetization
    • Private Cloud Deployment
    • 日本語コミュニティ
    • Insights
    • IoT Apigee Link
    • BaaS/Usergrid
    • BaaS Transition/Migration
    • Apigee-127
    • New Customers
    • Topics
    • Questions
    • Articles
    • Ideas
    • Leaderboard
    • Badges
  • Log in
  • Sign up

Get answers, ideas, and support from the Apigee Community

  • Home /
  • Edge/API Management /
avatar image
0
Question by jonesfloyd · Mar 16, 2015 at 04:40 PM · 878 Views cache

Is there a name for the 'default' or 'shared' cache?

In Edge, you can define an environment-scoped cache in the UI, and you can explicitly create caches with the management API.

But if you *don't* explicitly create a cache, a default org-level cache still exists. This cache doesn't show up in the list of environment caches in the UI, and it's not visible to the management API.

It's apparently available to policies (and Node.js), though.

For example, on the cache policies, there's a CacheResource element that lets you identify the cache to populate/look up/invalidate. If you don't include this element in a policy, the policy supposedly works on the 'default, shared' cache. (In Node.js, you apparently reference the shared cache with the name 'undefined').

So the big question is, is there an explicit name for the 'default' or 'shared' cache (like 'undefined' in Node.js)? For example, if I wanted to clear that cache with the management API, what name would I use?

Comment
Add comment
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Close

4 Answers

  • Sort: 
avatar image
0
Best Answer

Answer by Madhan+Sadasivam   · Mar 19, 2015 at 01:11 PM

The default cache cannot be managed using the management API. This is the primary motivation for creating a named cache.

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0
Best Answer

Answer by naveen · Mar 20, 2015 at 12:54 AM

For the default system cache we don’t require a “name” for the cache resource.The <CacheResource> tag is “optional” field.

You can manage the default system cache via OOTB caching policies but not management API calls.

Comment
Add comment Show 1 · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jonesfloyd ♦♦ · Mar 20, 2015 at 04:42 AM 0
Link

Thanks, Naveen. So by manage the default system cache via policies, do you mean that by not including the CacheResource element, the policy works on that cache automatically? So no specific name to be used?

avatar image
0

Answer by naveen · Mar 20, 2015 at 04:49 AM

@Floyd Jones Yup

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by naveen · Mar 20, 2015 at 04:49 AM

@Floyd Jones Yup

Comment
Add comment · Link
10 |5000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by Apigeeks only
  • Viewable by the original poster
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

9 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is the size and TTL for the shared (default) cache when it's not used? 1 Answer

How can I fetch expired cache if my API fails from apigee edge 1 Answer

if there is a way to skip caching in L2 1 Answer

Clear multiple cache entries using a single invalidate cache policy flow 0 Answers

Can't I store an object in the Cache? 2 Answers

  • Products
    • Edge - APIs
    • Insights - Big Data
    • Plans
  • Developers
    • Overview
    • Documentation
  • Resources
    • Overview
    • Blog
    • Apigee Institute
    • Academy
    • Documentation
  • Company
    • Overview
    • Press
    • Customers
    • Partners
    • Team
    • Events
    • Careers
    • Contact Us
  • Support
    • Support Overview
    • Documentation
    • Status
    • Edge Support Portal
    • Privacy Policy
    • Terms & Conditions
© 2021 Apigee Corp. All rights reserved. - Apigee Community Terms of Use - Powered by AnswerHub
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Create an article
  • Post an idea
  • Spaces
  • Product Announcements
  • General
  • Edge/API Management
  • Developer Portal (Drupal-based)
  • Developer Portal (Integrated)
  • API Design
  • APIM on Istio
  • Extensions
  • Business of APIs
  • Academy/Certification
  • Adapter for Envoy
  • Analytics
  • Events
  • Hybrid
  • Integration (AWS, PCF, Etc.)
  • Microgateway
  • Monetization
  • Private Cloud Deployment
  • 日本語コミュニティ
  • Insights
  • IoT Apigee Link
  • BaaS/Usergrid
  • BaaS Transition/Migration
  • Apigee-127
  • New Customers
  • Explore
  • Topics
  • Questions
  • Articles
  • Ideas
  • Badges