TYPO3, tt_news clear cache when add new post

tt_news is a great plugin, but according to me the ”out-of-the-box” cache settings is really bad. All beginnerns allways get stuck with the problem that FE-pages does not update tt_news post when a change is made.

If you have a ”normal” website that publish 1 – 2 posts a week, there is no need for the multi-super-duper cache settings. So to make it easy for your self, just set the cache to clear every time you make a change to your news folder. This is done by adding this line of typoscript ”TCEMAIN.clearCacheCmd = all” to your news folder TSConfig.

Step-by-step instructions

  1. Edit your newsfolder
  2. Go to tab ”Resources”
  3. Paste this ”TCEMAIN.clearCacheCmd = all” into the box at the bottom (title: Page TSConfig)
  4. Save the page

EDIT!

This only works for admin users by default, to make it work for other be-users, just add the following to the group or users tsconfig (found in ”User admin” -> selected user/group -> ”option” tab):

options.clearCache.all=1

Annonser

2 reaktioner på ”TYPO3, tt_news clear cache when add new post

Kommentera

Fyll i dina uppgifter nedan eller klicka på en ikon för att logga in:

WordPress.com Logo

Du kommenterar med ditt WordPress.com-konto. Logga ut / Ändra )

Twitter-bild

Du kommenterar med ditt Twitter-konto. Logga ut / Ändra )

Facebook-foto

Du kommenterar med ditt Facebook-konto. Logga ut / Ändra )

Google+ photo

Du kommenterar med ditt Google+-konto. Logga ut / Ändra )

Ansluter till %s