This is an old revision of the document!


Why some pages showing as cached but somes not?

After you enabled LiteMage, you could see most of the pages cached but somes not, such as brand pages.

There are some default system-defined cachable route. Extra routes may need to be added to make the pages cached.

Please check configure of system defined cache route and user defined cache rules.

You can enable debug log and if you see the following:

 
2017-02-21T14:55:31+00:00 DEBUG (7): LiteMage [xx.xx.xx.xx:26072:29461700] ****** PRECHECK route_action [brand_brand_index] /brand/ NO_CACHE=route not cacheable
2017-02-21T15:30:21+00:00 DEBUG (7): LiteMage [xx.xx.xx.xx:37765:19171300] ****** ****** PRECHECK route_action [brand_brand_view] /brand/sorciere.html NO_CACHE=route not cacheable

It means the cache route is not in system default enabled cache route and should be added manually. Go to LiteMage Config→User-Defined Cache Rules→Cacheable Routes. The following would be added: brand_brand_view, brand_brand_index (it may vary if different extension being used, you may need to check your extension code). Check here for more details.

  • Admin
  • Last modified: 2017/10/23 15:24
  • by Jackson Zhang