Issue with favourites in v3 BETA 7g

More
9 years 5 months ago - 9 years 5 months ago #55504 by ggppdk
Hello

@macjoomla
test this:

in file:
plugins/system/flexisystem/flexisystem.php

comment out lines:
Code:
JResponse::allowCache(true); JResponse::setHeader('Pragma', ''); // if not cacheable the browser cache should be different per user JResponse::setHeader('Cache-Control', !$fc_cachable ? 'private' : 'public');


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #55505 by Macjoomla
Great, ggppd, this is solving exactly my issue with logged in /logged out views!

Thank you and best regards, Macjoomla

ggppdk wrote: test this:
in file:
plugins/system/flexisystem/flexisystem.php

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #55506 by ggppdk
Hello

@macjoomla , @raj87

commenting, out these lines, will make browser ask you to "revalidate" when you click, back in a filtering form

To resolve also the "revalidate" nuisance

in file:
plugins/system/flexisystem/flexisystem.php

replace lines:
Code:
JResponse::allowCache(true); JResponse::setHeader('Pragma', ''); // if not cacheable the browser cache should be different per user JResponse::setHeader('Cache-Control', !$fc_cachable ? 'private' : 'public');

with:
Code:
JResponse::allowCache(false); JResponse::setHeader('Pragma', 'no-cache'); // Ask intermediary (proxy, etc) caches not to cache the response JResponse::setHeader('Cache-Control', 'private');

But note,
that all pages that were cached with previous setting by the browser will not be cleared,
to really test the above fix,
- either clear browser cache once or use a new browser to make the test


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #55514 by Macjoomla
Hey ggppdk,
thank you for this, it is just doing well like first, but did not try with for yet.

best regards, Macjoomla :-)

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #55519 by raj87
Seems to work now.
Thanks.
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.368 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline