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 three @@@ ) when page is comming from cache :

and steady refreshed module positions 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.

Exclusion of template positions

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 :

  • If you have exclusion count=0 then you have interference with some other system plugin (it is necessary to disable all non-core system plugins and then enable one-by-one to find problematic influence).
  • When you have indication of error (exclusion count) then either you excluded module twice (not only on template but also on JotCache component Position exclude what is not allowed) or you have problem in template (jot tags).