- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Clear Page Cache
Hi,
I want to clear cache for specific product page and dont want to clear all using cache:flush
Please let me know.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Clear Page Cache
Hi @gkarthick87
In a layout, set cacheable=”false”. Note that this attribute will make the whole product page non-cacheable.
It may help you to resolve issue.
Problem Solved? Click on Accept as Solution!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Clear Page Cache
Thanks for your reply @Bhanu Periwal
I want different solution to clear specific page cache and shouldn't remove from Cache. Page should be load from cache and then only customer will get page fast.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Clear Page Cache
Hello @gkarthick87
The page cache is saved in var/cache/ where you can manually remove them as there is no specific command to remove specific page cache, but there are some areas from where you can remove cache :
bin/magento cache:flush [TYPE]
Types are specified below :
config
layout
block_html
collections
reflection
db_ddl
compiled_config
eav
customer_notification
config_integration
config_integration_api
full_page
config_webservice
translate
