Comments (6)
Another simpler solution.
Since I can prefix my user generated blocks, extending the block names ignore with expressions would help, by example:
top.links,
cart_sidebar,
right.reports.product.viewed,
catalog.compare.sidebar,
myblockprefix_*
from lesti_fpc.
Hello Jonathan,
did I understand you right? You have blocks that aren't generated by layout.xml's? And you would like to make them dynamic, cause the blocks have user-specific content? How did you generate the blocks, over a parent block or over a controller, or...?
from lesti_fpc.
Hi, yes they aren't included via layout.xml (even though we can include these blocks via layouts), these blocks are mostly generated via the admin panel then included in CMS pages via widgets. These blocks do not have defined names (anonymous_28) by example.
from lesti_fpc.
Ah ok. Maybe we can add a checkbox to widgets. And this checkbox makes the widget/block dynamic.
from lesti_fpc.
Yes that could be a solution.
When a widget is configured to do so, a few actions over products are limited if the user is not logged in, by example an user who is not logged in won't be able to click the "download" button but instead it will show a popover, that kind of thing.
from lesti_fpc.
A tested it in the last week. And I'm sorry, but it's impossible to make widgets dynamic per default. The problem is, that Fpc has no information about widget/block, cause the information about widget/block are in cms-model. And the sense of Fpc is not to load cms-model. But I guess you can give {{widget name_in_layout="your_blockname" }} to widget and make "your_blockname" dynamic in Fpc. You only have to add this widget per layout.xml so that it doesn't show on first request.
from lesti_fpc.
Related Issues (20)
- Data leakage when using with Cm_RedisCache cache backend
- module doesn't work with webkul Show Price After Login For Magento module
- Bug in the XML example configuration HOT 1
- Last page of previous customer gets cached after logout and is shown to next customer after login
- Dynamic blocks not rendering
- Adding Lesti_FPC to AOE cron scheduler HOT 3
- error 500 lesti fpc update to 1.4.8 HOT 8
- Store lazy blocks data in the cache storage not in the session
- Manadev SEO Layered Navigation with lesti fpc
- customer_logged_in handle ignored? HOT 4
- FPC cache possibly preventing Amasty One-step Checkout from changing Country selections, and possibly unable to clear cache under certain conditions?
- Bannerslider on homepage HOT 1
- Fatal error on version 1.4.9 HOT 5
- the minicart...extra_actions HOT 2
- Custom layout update ignored after refresh HOT 1
- More a question, than an issue....uri params in MVC format
- CMS Page Cache Not Busted On Product Save HOT 1
- Breadcrumb is cached when approaching directly.
- mobile version not working whats app api HOT 3
- problem minicart rwd teme
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lesti_fpc.