GithubHelp home page GithubHelp logo

http2_push's People

Contributors

danielruf avatar fjonan avatar kevinlieser avatar sc-cmarquardt avatar

Watchers

 avatar  avatar

Forkers

ichnoweb

http2_push's Issues

"link" header can get too long which results in server error 500

When opening a page that has a lot of different images the "link" header gets very long (see also #7 ) and on our server results in a server error 500. The last working page before the error has a "link" header string length of 8099 so I assume the "breaking point" is around 8100 and 8200 characters. I am not sure if this is a server setting or dependent on the used software, in our case it is an Apache server. It is also possible, that what Chrome dev tools show me has a max limit since the string stops with "; rel=preload; as=image" and usually the "as=image" precedes a source.

The optimal solution would be a way that finds out the max length from the system, another might be a setting that caps the max length to prevent server errors with a medium sized default value.

I did not have any entries in my error logs when this error occurs.

Same source gets linked multiple times

I am working with "clear.gif" as a placeholder for lazy loaded images a lot and noticed, that the http2_push dumps every single occurrence into the link-header. This could blow up the header unneccesarily in some cases. This is a minor issue but I am sure can be fixed by reducing the array of found sources down to unique ones.

Here is a screenshot from my link-header-text:
cleargif

TYPO3 9 Compatibility

Hello,

Is there any plan to release the new version of the extension which is compatible with TYPO3 9.5 LTS?

Thank you.

Installation auch mitt composer möglich?

Hallo,

wir haben eine Typo3 9.5.5 mit PHP 7.3 installiert. Dann haben wir mit dem Composer dieser EX installiert und aktiviert. Nun erhalten wir folgende Fehlermeldung:
LIVE | ERROR | Error handler | Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1294585866: No class named Ka\Http2Push\Hooks\ContentPostProcessor | InvalidArgumentException thrown in file /var/www/typo3/public/typo3/sysext/core/Classes/Utility/GeneralUtility.php in line 3585. Requested URL: https:// |  

Woran kann es liegen, denn die Class liegt im Ordner Classes/ Hook.

IMG URL parser too greedy

In my markup I have IMG tags that have a clear.gif as source and the real image URL as data attribute to be loaded when necessary. The http2_push plugin seems to be parsing all the image URLs from the finished markup and put them into the link header with rel=preload.

sources
loaded

I suspect that the resource parser wrongfully mistakes the data-isrc= with a src=

I think the default behavior should not include sources that would not be loaded by the browser if the markup was parsed normally.

Maybe this can be a configuration/setting for the plugin? Like "parse sources from data-http2push attributes in the markup".

Website not loading in safari

Hello,

I've installed http2_push extension on my website, and it works well in all other browsers except safari.
In safari, the website is not loading. Please see the attached screen. Do we've any solution for this?

bildschirmfoto 2018-05-09 um 10 46 16

Thank you.

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.