Solved: cache problems
Hello UNA team;
- It seems like there may be a bug occuring in developer > pages > settings>cache enabled pages.
When we enable the cache by giving its seconds to live, if there is a the gallery view block in the page, it becomes distorted.
This happens in all content modules in gallery views.
I tested with lucid an protean there is the same problem.
Please see the attachments. - Another problem seen is:
When we enable developer > settings> enable cache for images studio page gets unreachable.
ps: same thing is happening with albums-context and view album pages
-
- · Omar Amer
- ·
interesting. have you checked by resetting this to zero in developer, and only making this change in the page block setting via the regular pages editor in the studio?
it sounds like you have conflcting settings between developer and pages modules, playing duelling banjos, and to make it more fun you also run OPCache, which has its own settings...
my suggestion:
developer cache 0 on all your blocks,
and tweak OPCache settings a bit,
but in pages module use cache setting on your pageblocks to be somewhat reasonable, (low time) because if new content is added it may not always pull the clean new copy and may serve a visitor a cached copy, and then somewhere the auto detection script will say "new content" but maybe not before they have browsed away already from that area...
this echos somewhat a similar problem i am having with my site, which is people are not used to a site that doesnt dynamically reload content in the given blocks/page section in every use scenario after they perform an action.. -
- · Cem
-
·
In reply to Omar Amer
- ·
Hi Omar;
this page cache settings can only be changed through developer module.
Outside developer module you may see the setting value but not edit. -
- · Omar Amer
-
·
In reply to Cem
- ·
oh! you are correct i just checked this based on what you wrote here last.
hmm. it sounds like in order to change appropriately we need to understand the architecture of the caching system and what happens when a request is issued.
houston, to mission command, we need a flow chart :)
-
-
·
Alex T⚜️
- ·
Thank you for the reports
1) Actually this is expected behaviour, not all pages can be cached, pages which have blocks with external CSS could not work properly. It's because only content for blocks is cached but if blocks use external CSS/JSS files - then these files can't be cached.
-
·
Alex T⚜️
-
- · Cem
-
·
In reply to Alex T⚜️
- ·
Thank you Alex for the explanation.
-
-
- · Cem
-
·
In reply to Alex T⚜️
- ·
Hi Alex T⚜️ ,
When I enable developer > settings> enable cache for images the icons in studio entry page is not seen.
-
-
·
Alex T⚜️
-
·
In reply to Cem
- ·
When I enable developer > settings> enable cache for images the icons in studio entry page is not seen.
Thank you, but I can't reproduce this behaviour, could you please provide access to your site studio to check what is wrong ?
-
·
Alex T⚜️
-
-
·
Alex T⚜️
- ·
The problem is when "Cached image max size (in Kb)" is set to high value, for best performance it should be around 2-7 kb, setting it to 100kb or more will make it work very ineffectively and improperly.
-
·
Alex T⚜️