CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Feature #11467

Enable cache (USER instead of USER_INT object)

Added by Robert Heel over 2 years ago. Updated almost 2 years ago.

Status:Resolved Start date:2010-12-15
Priority:Should have Due date:
Assignee:Alexander Grein % Done:

0%

Category:-
Target version:Powermail 1.6.4
Votes: 0

Description

If you have no special "Contact form" page, powermail is often shown without being used.
As it has many database elements and template marker replacements, it needs much cpu power (take a look at ADMIN-PANEL -> TypoScript)

I've make the plugin cacheable, add no_cache to the forms, and
$GLOBALS['TSFE']->set_no_cache();
if no session is set.

This should deactivate the cache on user interaction, but caches the empty form.

Patch attached.

powermail_cache.diff (6.3 kB) Robert Heel, 2010-12-15 16:05

History

Updated by Alexander Grein about 2 years ago

  • Status changed from New to Resolved

Added in newest trunk.
Thanks for your suggestions!

Updated by Alexander Grein about 2 years ago

  • Status changed from Resolved to Accepted
  • Assignee set to Alex Kellner

Command back: set no_cache = 1 is generally no good idea

Updated by Alexander Grein about 2 years ago

We have include this feature in the latest trunk, but in a more gently way.

You will find a new constant for switching on this caching feature.

Everybody is welcome to test this new feature, especially in combination with other powermail-depending extensions.

So please test test test!!!

Updated by Alexander Grein about 2 years ago

  • Status changed from Accepted to Needs Feedback
  • Assignee changed from Alex Kellner to Alexander Grein

Updated by Alexander Grein almost 2 years ago

  • Status changed from Needs Feedback to Resolved
  • Target version set to Powermail 1.6.4

Now, 3 month after waiting for feedback for this new feature, we will release it with the next version.

Also available in: Atom PDF