digitalbutter / modx-mirror Goto Github PK
View Code? Open in Web Editor NEWThe Mirror plugin helps you to develop MODX websites faster. It synchronizes elements (templates, chunks, plugins and snippets) from filesystem with database and reverse.
The Mirror plugin helps you to develop MODX websites faster. It synchronizes elements (templates, chunks, plugins and snippets) from filesystem with database and reverse.
Enabling this plugin has caused almost all cache files to be deleted immediately after creation, forcing MODx to re-generate the resources for each request.
Disabling the plugin solves the issue.
Hey Andrey,
Just had a weird thing happen to me when using Mirror with a 404 image on the home page.
Basically what was happening was the home page had a missing image on it (which can happen from time to time). MODX be default will then try to serve the 404 page which in this case was the home page. Now when this behavior is coupled with Mirror flushing the cache on every request it actually caused my laptop to fully crash under the weight of around 100 Apache processes. Effectively it would keep going until my computer ran out of RAM.
I don't think this should be fixed by adding a break to detect that an image is being referenced and not clear the cache. I think we should completely revisit how the cache gets cleared.
Create a setting in Mirror that is a parameter it looks for in the request. We can default this to flush. Then when you want to clear the pages add ?flush=1 to the request string.
Anyone have any other ideas?
Ed
Can you provide a transport package for modx-mirror?
Hi! Thank you for this great plugin. Could you please add a license to it so people will know what they're allowed to do with it? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.