A
A
AveWycc2020-05-21 13:45:54
caching
AveWycc, 2020-05-21 13:45:54

Will Flask-Caching have FileSystemCache client-side caching?

There is a code

cache = Cache(app, config={
    'CACHE_TYPE': 'filesystem',
    'CACHE_DIR': r'C:\сache_directory_BullsAndCows',
    'CACHE_DEFAULT_TIMEOUT': 86400,
})

And it stores the cache, as specified, in CACHE_DIR. Maybe it's a stupid question, does it keep the cache as on the client side, or does it treat my file system as the server's file system? If the correct answer is the second, then how can Flask implement client-side caching?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question