https://bugzilla.wikimedia.org/show_bug.cgi?id=26802

           Summary: Optimizations in resource loader filestat checks?
           Product: MediaWiki
           Version: wikimedia-deployment
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: Resource Loader
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Feel free to close this quickly if I miss read the code...

afaict after preloadModuleInfo we validate the cache for every logged in user?
Does this mean we running filestat for every resource file every 5 min for
every logged in user?  If not already doing this, the RL could use global
filestat times cache so its not validated for every logged in user so often? 

* Top level svn file reading. You could save a lot of filestat calls by just
parsing revision from directory level svn files ( if available ). 

* The majority of mediaWiki installs they simply won't be modifying any of the
release files, a global like $wgResourceLoaderCheckForFileChanges = false by
default might not be a bad idea. 

What does ResourceLoaderFileModule::getModifiedTime-filemtime profile time look
like for sites without squid in-front of mediaWiki? 

Maybe this is a non issue because of operating system level filestat cache? But
might be painful for sites on network file systems.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to