- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Cache Flush Issue
I have a really annoying cache flushing issue that I can't seem to pinpoint the cause of.
My storefront uses a static block.
Any saved changes made to the static block are never reflected on the storefront unless I flush magento cache.
I need to flush the cache every time any changes are made!!
Weird thing I only have this problem on my hosting.
I have installed magento on my laptop and I don't seem to have this issue at all. Tested both production and developer modes. Any changes I make to a static block I instantly see on the storefront.
This is really frustrating as I've implemented a visual store front block editor into my database with API to streamline updating the site, but having to login to adminpanel everytime to flush the cache kills the whole purpose of it).
Any ideas what might be causing it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Cache Flush Issue
Blocks can be set as non-cacheable by setting the cacheable attribute false in layout XML files. For example
<block class="Block\Class" name="blockname" cacheable="false" />
Pages containing such blocks are not cached.
Fore more details refer below links :
Hope it helps !