Jump to content
You are viewing a curated collection of the most significant posts in this topic.

Featured Replies

Posted

5 months ago I created such a topic in Client Lounge
I confirmed  @bfarber moving the topic to this section - but this does not seem to have happened.
This file is rarely changed. The cache does not need to be only 24 hours. This is probably fixed in the output php or somewhere else. This expires time cannot be changed with a htaccess file - I've tried all the options found on the web.
Please put in ACP an option to change expires time to this cache.
Thanks.

What is your recommendation for the caching period?

  • Author
 

What is your recommendation for the caching period?

I'm not sure because all the experiments I've done with the htaccess file do not change the expires time.
If I trust these recommendations here - the expiration time should be 0 seconds.
But even these tips implemented in htaccess file do not change the expires time.
If you point me to which file I make a change - I could experiment and write here for a result.

 

I'm not sure because all the experiments I've done with the htaccess file do not change the expires time.
If I trust these recommendations here - the expiration time should be 0 seconds.
But even these tips implemented in htaccess file do not change the expires time.
If you point me to which file I make a change - I could experiment and write here for a result.

So it should never be cached at all? that's what those settings are.

 

If you point me to which file I make a change - I could experiment and write here for a result.

$cacheHeaders	= ( \IPS\IN_DEV !== true AND \IPS\Theme::designersModeEnabled() !== true ) ? \IPS\Output::getCacheHeaders( time(), 86400 ) : array();

Line 174 applications/core/modules/front/system/metatags.php

  • Author
 

$cacheHeaders	= ( \IPS\IN_DEV !== true AND \IPS\Theme::designersModeEnabled() !== true ) ? \IPS\Output::getCacheHeaders( time(), 86400 ) : array();

Line 174 applications/core/modules/front/system/metatags.php

With 1 week (604800) value is perfect.
I did a test with several test servers.

 

With 1 week (604800) value is perfect.
I did a test with several test servers.

Tbh I wouldnt hard cache it unless it has querystring busters for when you need to push an update even though that wont be often.

Recently Browsing 0

  • No registered users viewing this page.