I have written code for Response Cache custom cache attribute and decorate in controller page wise.
Everything is working fine values of cache reflecting property in network cache-control. Like cache duration value is for Home page i set 60 sec. then i would expect till to 60 sec page should display from cache but it is not happening.
Can anyone suggest how can i test this functionality?
HI,
I have written code for Response Cache custom cache attribute and decorate in controller page wise.
Everything is working fine values of cache reflecting property in network cache-control. Like cache duration value is for Home page i set 60 sec. then i would expect till to 60 sec page should display from cache but it is not happening.
Can anyone suggest how can i test this functionality?
Custom cache attribute
Custorm Attribute Decorate in controller on index method
[CustomCache(CacheType.HomePage)]
Thanks,
Deepmala