13 lines
261 B
TypeScript
13 lines
261 B
TypeScript
|
|
export const CACHEABLE_URLS = {
|
||
|
|
GET: [
|
||
|
|
// Add GET URIs here that you want to cache
|
||
|
|
// e.g., '/api/data'
|
||
|
|
],
|
||
|
|
POST: [
|
||
|
|
'/api/web/accountingSetup',
|
||
|
|
'/api/nigga'
|
||
|
|
// Add POST URIs here that you want to cache
|
||
|
|
// e.g., '/api/search'
|
||
|
|
]
|
||
|
|
};
|