User Tools

Site Tools

Fast check of cache operation

Check in frontend

For proper marking of cached content you need to have installed not only JotCache plugin but also the JotCache component. For page marking to put it in the operation it is necessary :

  • in the JotCache plugin parameters to set Mark Caching to Yes
  • in the JotCache component click on Set Mark button

With Set Mark button here it is sent marking cookie to your browser and then you can see marked page title (with string [MARK] in title begin).

When the page is comming from cache page title has string [CACHED] in title begin :

For cached page are excluded module positions in each response refreshed and they are marked with dashed red outline :

Check in backend

The marking can be used also for fast selection of pages which is necessary to remove from the cache. The recommended selection practice is following :

  • check if list of active cached pages has any “Yes” in Mark column (use top combobox for selecting)
  • reset the marks for given pages with ResetMark button (the button is shown after click on SetMark, when SetMark is on toolbar)
  • click on SetMark button to start active marking
  • open/reload pages in website frontend which you like to be marked
  • Back in Administrator Cache Management click on Refresh button. You shall see in Mark column “Yes” for all in frontend opened/reloaded pages (you can select only marked pages with Select Mark combobox)

Selected files can be deleted as described in management view section.

Especially when checking module template position exclusion can be helpfull debug feature of JotCache (enable in Options parameter Show file hash) which allows fast allocate specific cached page and to display in source form :

In the source code of the cached page can be searched (with browser find function) for presence of exclusion jot tags, etc. For fast overview is recognized number of position exclusions shown in text over the textbox.