Comments (8)
What is the motivation ?
from flatten.
Sorry for the delayed response. The reason is I have some plain text files I serve through flatten like a sitemap.xml and robots.txt while it doesn't do any harm I thought about using it with dynamically generating image sizes package I'm working on later and just thought it would be a nice option whether or not Flatten should touch the original content or not.
from flatten.
Ok sounds good, well if you want to do a PR of that I'm up for it, maybe something regex based that could also be disabled with a false value as pattern so people who don't care don't get the performance impact of the regex check.
from flatten.
Yeah I think that is a great idea. I haven't had as much time as I hoped to add this, but I still really want the flexibility so I'm hoping to add it soon or if you are bored. 😄
from flatten.
Personally I like the commenting system! I just changed some of the code to store it in a javascript variable in which I assign a timestamp for that cached page so that users can manually refresh, if they wish to update the page! For example: http://loldir.com/vacation/na .
It would actually be nice to be able to manipulate this field more easier! Great package, keep it up!
from flatten.
Done on develop, can use it through the 1.1.*@dev
branch alias. See the timestamp
option.
from flatten.
Thanks!
from flatten.
Awesome, thank you for this!
from flatten.
Related Issues (20)
- Undefined Variables HOT 9
- Can not get values from config.php
- Environments config is confusing HOT 1
- Laravel: Way to detect if partial is cached for View Composer not making it's job useless HOT 1
- Disable default caching and only cache using cache blade syntax
- Minify / remove whitespace HOT 1
- Enabled false not working HOT 1
- File caching or memcached/redis? HOT 3
- BuildCommand causes a segmentation fault HOT 3
- Release stable version HOT 3
- Blade rendering only text HOT 1
- How to Cache Only a Part of My View HOT 4
- How can I use it in laravel 5? HOT 15
- Kickstart duplicates query string HOT 1
- Add Cached-by Meta HOT 3
- Dependencies could not be resolved? HOT 2
- Kickstart pathing issue to Flatten.php HOT 5
- Unable to install to Laravel 5.2 HOT 1
- Also not working on L5.1
- csf token HOT 1
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 flatten.