Coder Social home page Coder Social logo

biz-mark / quicksilver Goto Github PK

View Code? Open in Web Editor NEW
16.0 16.0 5.0 126 KB

October CMS Lightning fast static files cache system

Home Page: https://octobercms.com/plugin/bizmark-quicksilver

License: GNU General Public License v2.0

PHP 93.37% HTML 6.63%
cache-storage octobercms-plugin

quicksilver's People

Contributors

blakej115 avatar flusherdock1 avatar lemax10 avatar publialex avatar tarasmykytka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quicksilver's Issues

Dashboard widget to clear cache

Hello,

Really nice to see some performance boost plugin for october CMS. I developped many sites with it, performances are OK but I could never decrease the TTFB below 800ms, which is quite high, even for small websites.

Hope to go below 500ms using static cache...

However, I have a feature request : The clients for which I develop websites are not developers and can't type artisan command to clear cache. It would be a great addition to be able to do that in a widget directly in the October CMS dashboard.

Do you think it could be possible ?

Best regards,

Alex

Fatal error after backend logout

Hello,

After installing this module, on a fresh install. When you logout the backend, you have an error :

Type error: Argument 2 passed to BizMark\Quicksilver\Classes\Middleware\CacheResponse::shouldCache() must be an instance of Illuminate\Http\Response, instance of Illuminate\Http\RedirectResponse given, called in /plugins/bizmark/quicksilver/classes/middleware/CacheResponse.php on line 43

Quite critical here as you can't login anymore without commenting the if statement in line 43-45 in CacheResponse.php

Encoding issue for cached pages

Hello,

Congratulation for your plugin, I could notice very big performance improvements, especially concerning TTFB.

However, I noticed a bug with character encoding. All accents are displayed weirdly, for example, the word : "réception" is displayed "réceptions".

It's probably related to page encoding, I suggest you use UTF-8 for better support of special characters.

Best regards,

Alex

2.0 issues

Hello,
Since 2.0 update. Plugin stopped to work correctly. Pages are created in /page-cache but only homepage seems to load from there. Can you post your whole clean October .htaccess, properly modified for v2.0? I guess maybe there is a problem. And I don't speak Russian to follow forum.

Thanks!

Query String Support

Hello!

I love this plugin (I left a nice review on the marketplace)

I wondered if you have considered adding logic to support query strings?

I understand that the current aim for the plugin is to speed up fairly static sites, which this does brilliantly, but I feel that API driven sites would benefit here, too.

This is something I need, but obviously it's quite a demand as it deviates from the intention of the base package. I will fork and work on this for my own needs, but I would like to hear your thoughts on whether its something you'd be interested in merging in the future.

Cheers!

sitemap.xml

Hello Community, it's a super plugin! But it also caches sitemap.xml.
Please help me and advise, how to exclude sitemap.xml from caching.
Thank you very much in advance
Kind Regards Igor

Generate Static HTML for anonymous users only

Hello,

I noticed something really annoying with this module.

It actually cache static HTML file as it's viewed. This means it will cache and serv to everybody all administrative tools you can have on your frontend as a website administrator.

Here is a small example : Let's imagine you use the excellent content editor plugin to manage your frontend texts. The page will be cached including that small blue pen on the top left corner of each pages. Once cached, even anonymous visitors will see this pen, and they will see all others tools of special classes an administrator could have on a website frontend. This can lead to big UI and security issues.

There are 2 things to do to correct that problem :

  • Be sure that, when you cache the page, you cache only anonymous version of pages (anonymous from backend, but also from users logged with the user plugin)

  • Serve cached page only for anonymous (people logged as backend admin, or frontend user should not see cached version)

This is what most (to not say all) cms I know do, cached pages are only made for anonymous users, to speedup page load. Once they are connected, pages are dynamically calculated.

Best regards,

Alex

Add an exception

Is it possible to add an exception in the CacheResponse file for: rss.xml, sitemap.xml or {{blog.views}}!?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.