Turn off cache for specific items

More
11 years 9 months ago #27482 by pshoeg
The first problem — the JS is included in a module, that supposedly is cached.

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

More
11 years 9 months ago #27485 by ggppdk
So if your JS code does not use any data variable e.g. and ID created by a field in FLEXIcontent item view, why turning off cache will help?


-- 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...

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

More
11 years 9 months ago #27531 by pshoeg
I don't know — I was just wondering that since I load the JS inside a FlexiContent view it might be cached. But it sounds like it isn't.

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

More
11 years 9 months ago #27532 by ggppdk
do you have this online, and can you describe the steps of usig it?

i don't promise anything, just to take a quick look at,

The js code get the id / information of the data to retrieve from where?

via a cookie? via a form ?


-- 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...

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

More
11 years 9 months ago #27533 by pshoeg
Thanks — just sent you a PM.

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

More
11 years 9 months ago #27536 by ggppdk
Ok, the problem in your case seems to be browser level caching (although not sure), if you click CTRL-F5 to bypass browser cache the results appear immediately.

You could examine adding new feature to instruct browser not to cache page specific Content Types (and maybe also specific items)

You could use this J2.5 to add HTML headers for specific menu items, that will disable browser level caching:
extensions.joomla.org/extensions ... ards/12785

Regards


-- 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...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.305 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