Hi All,
One js file in /etc/design../clientlib or in apps/someapp/component/somecomponent was changed.
How to know which pages from /content directory are influenced?
Thanks in advance,
Yura.
Solved! Go to Solution.
The system doesn't necessarily provide a way to query that. The relationship between a page and client lib is dependent on what the template of the page includes and what the components included on the page. Are you trying to understand what pages to flush from dispatcher cache? Typically best practice would be to flush all pages from cache.
You might have to use querydebug or crx query to get the contents you are looking for. Please review the following post from stackoverflow.
http://stackoverflow.com/questions/21268976/optimizing-sling-queries
The system doesn't necessarily provide a way to query that. The relationship between a page and client lib is dependent on what the template of the page includes and what the components included on the page. Are you trying to understand what pages to flush from dispatcher cache? Typically best practice would be to flush all pages from cache.
orotas wrote...
The system doesn't necessarily provide a way to query that. The relationship between a page and client lib is dependent on what the template of the page includes and what the components included on the page. Are you trying to understand what pages to flush from dispatcher cache? Typically best practice would be to flush all pages from cache.
Are you trying to understand what pages to flush from dispatcher cache?
Not exactly, Offline mode for a page in case there is no connection. I have an idea to use Application Cache (HTML5) http://www.html5rocks.com/en/tutorials/appcache/beginner/
The approach contains 2 phases :
The #1 is easily resolvable, and I'm trying to understand what could be a solution for #2
Thanks,
Yura
Views
Replies
Total Likes
Hi,
Assuming, that changed JS files occur only on deployments, I would invalidate the complete content (just in case). Otherwise you need to find all client-libs, which include this JS file, and the identify all components requiring these clientlibs, and after that you need to invalidate all pages, which contain these components. That's a massive amount of work.
Jörg
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies